-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
org-mode styles in headers ignored #2504
Comments
I tried this with both the current version and v1.13.2.1, but wasn't able to reproduce this.
Which Pandoc version are you using and what's the output format? |
it's in a reveal.js slide if that helps. I'm using |
@tarleb I shared my slides with you, try doing this on the section titled |
Thanks for the sources, I can reproduce it now and am implementing a fix. A minimal version for this bug would be
A (very hacky) temporary fix might be to use plain text as the first text in the header. E.g. |
Great, I'll try that! Any idea if you'll get round to the HTML attr parsing? That'd be awesome for setting background images. |
Markup as the very first item in a header wasn't recognized. This was caused by an incorrect parser state: positions at which inline markup can start need to be marked explicitly by changing the parser state. This wasn't done for headers. The proper function to update the state is now called at the beginning of the header parser, fixing this issue. This fixes jgm#2504.
I haven't really looked into it yet, sorry. |
e.g.
is rendered literally, rather than having the
strike
styling applied tothing
. Same for bold/italics/etc.The text was updated successfully, but these errors were encountered: