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

Footnotes rendering. #1

Open
Nable80 opened this issue Jul 11, 2020 · 0 comments
Open

Footnotes rendering. #1

Nable80 opened this issue Jul 11, 2020 · 0 comments

Comments

@Nable80
Copy link

Nable80 commented Jul 11, 2020

Hi!
I came across your website today (btw, thank you very much for your articles!) and it seems to me that I've found a bug in markdown rendering. At first I've noticed it here: https://www.labbott.name/blog/2016/11/29/virt-to-phys-and-back-again/

Original markdown source looks like this:

[^1]: For purposes of this discussion, `virt_to_phys` includes several
functions that while not identical are similar enough to assume they do the
same thing. `__pa` and `__virt_to_phys` are included in this category.

[^2]: If your distro supports it, try running `cat
/sys/kernel/debug/kernel_page_tables` to see the entire virtual address space.

But on your website it becomes this:

<p>functions that while not identical are similar enough to assume they do the
same thing. <code class="language-plaintext highlighter-rouge">__pa</code> and <code class="language-plaintext highlighter-rouge">__virt_to_phys</code> are included in this category.</p>

<p>/sys/kernel/debug/kernel_page_tables` to see the entire virtual address space.</p>

<div class="footnotes" role="doc-endnotes">
  <ol>
    <li id="fn:1" role="doc-endnote">
      <p>For purposes of this discussion, <code class="language-plaintext highlighter-rouge">virt_to_phys</code> includes several <a href="#fnref:1" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
    </li>
    <li id="fn:2" role="doc-endnote">
      <p>If your distro supports it, try running `cat <a href="#fnref:2" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
    </li>
  </ol>
</div>

Line breaks in the source code literally broke the rendering of footnotes, only the first line of each footnote is in its place, while remaining text is placed before the div class="footnotes", here is a screenshot:

image

Did I get anything wrong?

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

1 participant