Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/present: initial comment line now interpretted as a title #38578

Open
kortschak opened this issue Apr 22, 2020 · 3 comments
Open

x/tools/present: initial comment line now interpretted as a title #38578

kortschak opened this issue Apr 22, 2020 · 3 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@kortschak
Copy link
Contributor

kortschak commented Apr 22, 2020

The present tool now supports Markdown syntax but also supports the previous present markup syntax. The switch to enable Markdown syntax use is that the first line (the talk title) be preceded with a # . Unfortunately, this coincides with the use of # as a comment mark in the old syntax. In some cases, slides may contain copyright notices (I use present for lecture presentations and have done for some years now, so we require copyright notices). This puts the slide syntax into Markdown mode, which subsequently breaks because of the mutually unintelligible syntaxes.

It would be nice if there were a way to prevent present from assuming a # prefix is a note to present to use Markdown. Or at the very least a more prominent warning that old slides have a significant risk of being broken (I'm actually happy we now have Markdown, but this will result in a fair bit of work for me to fix in my lecture presentations).

/cc @rsc

@gopherbot gopherbot added this to the Unreleased milestone Apr 22, 2020
@gopherbot gopherbot added the Tools This label describes issues relating to any tools in the x/tools repository. label Apr 22, 2020
@lootch
Copy link

lootch commented Apr 22, 2020 via email

@kortschak
Copy link
Contributor Author

Yeah, pretty much anything that's not /# / works. In the file I'm writing at the moment, I just did s/^# /#_/.

@andybons
Copy link
Member

@rsc

@andybons andybons added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
None yet
Development

No branches or pull requests

4 participants