-
Notifications
You must be signed in to change notification settings - Fork 146
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
Pipe tables are not created when converting to HTML #121
Comments
Added the zip file for reference as GitHub already converted the source md file. |
Seems like that should work if you added newlines. Is there a reason you have everything as a single line? |
As you can see in the attached zip, they are already in newline only. When I paste the content online here at https://dillinger.io/, it displays them properly. When I add additional newline, they are still displayed with pipes, but in new lines. But the tables is not rendered. I'm not sure what I'm missing. |
GitHub works fine if you fence the code... Source: | Option | Description |
| ------ | ----------- |
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. | Rendered by GitHub: (requires one blank line preceding)
I cannot get CommonMark to render this. It instead renders as: <p>| Option | Description |
|------ | -----------|
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. |</p> VS Code's MarkDown preview also accepted this code. |
Is the problem solved? |
I'm trying to convert the below as a table in HTML.
Tables
Unfortunately, my HTML output is generated as below when using CommonMark.CommonMarkConverter.Convert(...).
Tables
| Option | Description | | ------ | ----------- | | data | path to data files to supply the data that will be passed into templates. | | engine | engine to be used for processing templates. Handlebars is the default. | | ext | extension to be used for dest files. |
The text was updated successfully, but these errors were encountered: