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

Enable Superscripts and subscripts as defined in Pandoc Markdown extension #59

Open
GoogleCodeExporter opened this issue Apr 26, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. In text editor, use ~word~ ( ^word^ ) to mark chars as sub or superscript.
2. Check the HTML preview

What is the expected output? What do you see instead?
If the Pandoc Extensions: superscript and subscript (see [1]) were supported, 
it would be easy to markup sup and superscript which is required for most 
scientific writing.
By using the HTML tags <sup> and <sub>, this would be displayed correctly in 
the html preview.


Please provide any additional information below.
[1] http://johnmacfarlane.net/pandoc/README.html#superscripts-and-subscripts

My patch must be reviewed carefully because i am a newbie in both js and reg ex.

Original issue reported on code.google.com by benimnetz@gmail.com on 27 May 2013 at 6:59

Attachments:

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

No branches or pull requests

1 participant