-
Notifications
You must be signed in to change notification settings - Fork 172
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
Markdown tables are not supported? #196
Comments
You certainly get a generated table with Discount (built-in markdown.lua doesn't support tables) but we don't have a nice style sheet that makes that table look pretty. Should be an easy fix. |
I've been also using ldoc 1.4.3 with the
But the output I get is http://ioe.gitlab.io/topics/IOE.TargettingREADME.md.html I have no idea what I'm doing wrong, can you help? |
I also had trouble getting tables to work. I used lua-discount, but it turns out that the current version of lua-discount does not support tables. I managed to fix it by using https://github.com/squeek502/lua-discount (a real pain to install with a lot of undocumented bugs). It seems to be by the same creator of the discount (not lua-discount) rock, but I can't verify that. |
As noted, this is entirely up to the Markdown parser you use. There are several more available now, with Pandoc in the works (see #327) which will be another option besides discount that supports tables. |
Having ldoc comments in this markdown format:
does not produce the following expected HTML table output:
Is this a bug? Is there a workaround other than embedding HTML table tags in the ldoc comments?
Tested with Ldoc v1.4.3.
config.ld has the following settings:
The text was updated successfully, but these errors were encountered: