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

Comments

Projects
None yet
2 participants
@mergesort
Copy link

mergesort commented Dec 11, 2017

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

This comment has been minimized.

Copy link
Owner

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

This comment has been minimized.

Copy link
Author

mergesort commented Dec 12, 2017

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

@mergesort mergesort closed this Dec 12, 2017

@qwtel

This comment has been minimized.

Copy link
Owner

qwtel commented Dec 12, 2017

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