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

Cannot escape underscore character (convertation from markdown to dokuwiki) #2498

Closed
vlad2m opened this issue Nov 6, 2015 · 3 comments
Closed

Comments

@vlad2m
Copy link

vlad2m commented Nov 6, 2015

Hello everyone,

Original discussion of an issue - https://groups.google.com/forum/#!msg/pandoc-discuss/n0ZejyROrUU/WReIz9bKAwAJ

Description
I couldn't escape underscore and it turned "$RPM_ROOT_BUILD" into "$RPM ROOT BUILD" (without spaces, I don't know how to show it without them, sorry), even if I added backslash in front of underscore (see below).

Input (markdown file's content):

And, finally, you need to ignore the files from that packages that were installed to $RPM\_BUILD\_ROOT - add on the top of spec file:

Converting command:

pandoc -f markdown -t dokuwiki Test.mkd -o Test

Output (dokuwiki):

And, finally, you need to ignore the files from that packages that were installed to  $RPM_BUILD_ROOT - add on the top of spec file:

So, underscore character is not escaped..

Versions:

>ver
Microsoft Windows [Version 6.1.7601]

>pandoc -v
pandoc 1.15.0.6
@jgm
Copy link
Owner

jgm commented Nov 12, 2015

According to this page, wrapping a string between single underscore characters should not make it italic. Confirmed in the dokuwiki playground. As far as I can see, single underscores don't need to be escaped. Can you clarify?

@vlad2m
Copy link
Author

vlad2m commented Nov 12, 2015

Hello, John,
As far as I remember, first I tried "non-escaped" way, then tried to escape the underscore and only after that I decided to report about it. But let me try it at my workplace tomorrow.Thank you for response.

@jgm
Copy link
Owner

jgm commented Nov 20, 2015

Closing since there's no follow-up and I can't see any problem. If you think this should not be closed, feel free to comment here.

@jgm jgm closed this as completed Nov 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants