6174 / 6174/pagedown

Enable Superscripts and subscripts as defined in Pandoc Markdown extension

Open
#59 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
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 and , 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:
- [sub_and_superscript.patch](https://storage.googleapis.com/google-code-attachments/pagedown/issue-59/comment-0/sub_and_superscript.patch)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.