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

Support for superscript tag #52

Closed
mergesort opened this issue Dec 11, 2017 · 3 comments
Closed

Support for superscript tag #52

mergesort opened this issue Dec 11, 2017 · 3 comments

Comments

@mergesort
Copy link

Markdown doesn't have native support for the superscript (<sup>) tag, but it doesn't generally interfere with using native HTML to display a superscript tag. It appears that in hydejack by default instead of rendering <sup>1</sup> as "¹", it just displays it as a "1".

Instead I've temporarily moved to using this syntax that I'd prefer to avoid:

<a href="#-">¹</a>

#### ¹ text

Let me know if there's any more info you'd like for me to provide.

Thanks a lot!

@qwtel
Copy link
Member

qwtel commented Dec 12, 2017

Ah, that is actually a feature to make footnotes easier tapable on phones/tablets. Unfortunately it also applies to regular <sup> tags, not just the footnotes generated by markdown. Will be fixed next release.

However, are you sure you want to set the <sup> tags yourself? Kramdown has built-in support for footnotes:

This is a text with a footnote[^1].

[^1]: Your footnote text.
      Can have multiple lines...

      ...and multiple paragraphs.
      Can contain *Markdown*.

@mergesort
Copy link
Author

That is indeed what I wanted, and didn't realize existed. Thank you so much for the help @qwtel!

@qwtel
Copy link
Member

qwtel commented Dec 12, 2017 via email

qwtel added a commit that referenced this issue Dec 19, 2017
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