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

Comments

@kortschak
Copy link
Contributor

@kortschak 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 label Apr 22, 2020
@lootch
Copy link

@lootch lootch commented Apr 22, 2020

@kortschak
Copy link
Contributor Author

@kortschak kortschak commented Apr 22, 2020

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

@andybons andybons commented Apr 22, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.