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

Do not write Markdown inside HTML blocks (e.g. tables). #6

Open
jpve opened this issue Jun 11, 2015 · 0 comments
Open

Do not write Markdown inside HTML blocks (e.g. tables). #6

jpve opened this issue Jun 11, 2015 · 0 comments
Labels

Comments

@jpve
Copy link
Owner

jpve commented Jun 11, 2015

https://daringfireball.net/projects/markdown/syntax:

Note that Markdown formatting syntax is not processed within block-level HTML tags. E.g., you can’t use Markdown-style emphasis inside an HTML block.

Pod tables are converted to HTML <table> blocks. Currently we format the contents of cells (<td>) as Markdown, but this should be formatted as HTML.

Proposed solution: use Pod::To::HTML to format table cells.

@jpve jpve added the bug label Jun 11, 2015
softmoth added a commit to softmoth/raku-Pod-To-Markdown that referenced this issue Dec 4, 2017
See jpve#6 for the
motivation for this. Unfortunately it doesn't do everything one
would like, because Rakudo's Pod parsing doesn't process the
formatting:

    https://rt.perl.org/Ticket/Display.html?id=114480

Still, it seems that Pod::To::HTML is the right way to do it
generally, this gives us <caption> support, and ensures that
future improvements to table formatting are automatically
applied.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant