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 in tables not being recognized... #111

Closed
digitalmoksha opened this issue Sep 7, 2018 · 0 comments
Closed

Footnotes in tables not being recognized... #111

digitalmoksha opened this issue Sep 7, 2018 · 0 comments
Assignees

Comments

@digitalmoksha
Copy link

I've noticed that cmark does not seem to recognize footnotes in a table. Here's an example:

A footnote in a paragraph[^1]

| Column1   | Column2 |
| --------- | ------- |
| foot [^1] | note    |

[^1]: a footnote

The footnote in the paragraph gets recognized properly, but not the one in the table.

<p>A footnote in a paragraph<sup class="footnote-ref"><a href="#fn1" id="fnref1">1</a></sup></p>
<table>
<thead>
<tr>
<th>Column1</th>
<th>Column2</th>
</tr>
</thead>
<tbody>
<tr>
<td>foot </td>
<td>note</td>
</tr>
</tbody>
</table>
<section class="footnotes">
<ol>
<li id="fn1">
<p>a footnote <a href="#fnref1" class="footnote-backref"></a></p>
</li>
</ol>
</section>

using the command cmark-gfm --footnotes -e table

@kivikakk kivikakk self-assigned this Sep 9, 2018
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