-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
How to create a Table? #42
Comments
Hi, You have to start with
This is not convenient way how to create markdown table. Recommended approach is similar how XML document is created with System.Xml.Linq.XElement. Extensive usage of this approach can be found here. MTable type uses MarkdownWriter under the hood. |
I will try this second method out tonight. I got the first way working before you answered, but the table output was not what I expected. |
@vonj any progress? |
I don't understand how to use for instance DotMarkdown.MarkdownBaseWriter.WriteStartTableCell()
I get exceptions, like:
Cannot write 'TableCell' when state is 'Table'
How do I get out of that state? In what order should the methods be called?
The text was updated successfully, but these errors were encountered: