You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, footnote id are rendering to '<sup>' + refname + '</sup>. '. However, normal rendered text is very strange, and if we try to fix appearance, needs special support for theme.
We should use ol or '<span>' + refname + '.</span>'.
Adding to this: It would be good to be able to distinguish between actual blockquotes and footnotes in the HTML (through a class?).
This would enable custom styling for footnotes, which is suboptimal right now.
(I tried adding some visual separation from the content, but was unable to do so. The closest i got was the following, but it breaks when there are actual blockquotes in the page content)
Setting title has strong advantage. Modern browser present a tooltip for the footnote (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/title). This provides more useful for site seeing.
However, there are problems for coding because one-to-one correspondence between markdown footnote reference and html tag is not possible.
ref: https://github.com/GitbookIO/markup-it/blob/master/syntaxes/markdown/inline.js#L12
Now, footnote id are rendering to
'<sup>' + refname + '</sup>. '
. However, normal rendered text is very strange, and if we try to fix appearance, needs special support for theme.We should use
ol
or'<span>' + refname + '.</span>'
.ref:
markup-it/syntaxes/html/blocks.js
Line 36 in b610171
The text was updated successfully, but these errors were encountered: