google / typedoc-neo-theme

Apache License 2.0
85 stars 34 forks source link

First class support for markdown #12

Open prescientmoon opened 4 years ago

prescientmoon commented 4 years ago

Curently theres this markdown plugin, but to get it to work I need to create a file called pages.hbs in the templates directoty using the patch-package package, which looks like this:

<div class="tsd-panel tsd-typography">
    {{#markdown}}{{{model.mdPage.contents}}}{{/markdown}}
</div>

I don't know if adding support for an arbitrary plugin is a good idea for this project, but if you decide it is, could you add this change at the theme level?

Thanks in advance!

Fleker commented 4 years ago

I'd prefer if there was a way to make it more generic than having to specifically rely on other dependencies.