Markdown.XAML
Markdown.XAML copied to clipboard
NuGet Package Not The Same As Demo Code
I ran the demo project and it worked as expected. I then pulled the NuGet package into my own project and installed it. There is an issue with the following properties of the Markdown class:
-
TableBodyStyle`
-
TableHeaderStyle
I pulled the code out of the sample, pulled in the xaml namespace and recieve the following warning:

With these 2 styles set the app will not build, if these are removed then the app builds and displays the markdown, without table support.

Consider the following markdown document:
# Markdown
## My Markdown Page
This is great I have rendered some markdown!
- List Item
- List Item
- List Item
Lets render a table!
| Name | Email |
|-------|-----------------|
| User1 | [email protected] |
| User2 | [email protected] |
Hooray!
When referencing the NuGet package the following is rendered:

If I pull the code from Markdown.Xaml directly into my project (bypassing the NuGet) then it renders correctly:

Does the NuGet package need rebuilding?
it seems so!
The NuGet package is unofficial; I reached out to the maintainer some time ago to see if I could publish an official one under the same name and haven't heard back.
I have intentions of publishing an official NuGet package under another name. However, as it's something I've never done before, I don't know what's involved, and therefore don't have a timeframe to share.
@theunrepentantgeek I haven't done it before but found instructions at docs.microsoft.com and I would try it if it okay for you?