Giter VIP home page Giter VIP logo

Comments (6)

RickStrahl avatar RickStrahl commented on May 18, 2024

Currently this isn't supported as the underlying renderer (CommonMark.NET) doesn't support it. We do have support for some features - specifically fenced code blocks which are the most critical. But there's no support for tables at the moment.

One of the things on my list to explore is to use the GitHub API to handle html rendering for Github flavored Markdown, but it'll require credentials to make this workable which is something I'd like to avoid having to store locally.

I need to do more research into newer parsers to see which also support better extension systems. This won't happen immediately though.

from markdownmonster.

lextm avatar lextm commented on May 18, 2024

Hi, DocFX from Microsoft features a GitHub flavor compliant Markdown parser, https://github.com/dotnet/docfx so that you don't need to do it yourself.

As this is the project behind the new http://docs.microsoft.com I believe its quality is high enough to enable this scenario.

from markdownmonster.

RickStrahl avatar RickStrahl commented on May 18, 2024

I'll take a look next week when I have more time. Thanks for the reference - did not know about that one.

from markdownmonster.

RickStrahl avatar RickStrahl commented on May 18, 2024

I've added support for the MarkdownLite and MarkDig parsers and they are integrated in the latest builds. They're not released yet, but you can build from source as of today.

The parser is configurable via the MarkdownParser configuration setting in MarkdownMonster.json. The following values are supported:

  • CommonMarkNet
  • MarkdownLite
  • MarkDig

The latter two both support Github Flavored Markdown including tables.

This is currently experimental.

Some thought needs to be given to how tables should be rendered in the previewer for each theme as tables render without any CSS tags.

from markdownmonster.

daughtkom avatar daughtkom commented on May 18, 2024

For anyone else that comes here: per the release notes, the two choices are CommonMarkNet and MarkDig. MarkdownLite does not appear to be supported in the current release.

from markdownmonster.

RickStrahl avatar RickStrahl commented on May 18, 2024

Yeah I removed that after playing around with MarkDig a bit. It looks like MarkDig is much more flexible both in terms of feature support as well as extensibility so that's what I think will be the eventual replacement for CommonMarkNet.

MarkDig is now the default engine loaded. Any feedback on rendering problems would be useful. The MarkDig folks also seem uber responsive to bug reports which is awesome.

https://github.com/lunet-io/markdig

from markdownmonster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.