mustache / mustache.github.com

The {{official}} website
http://mustache.github.io/
Other
2.32k stars 293 forks source link

Unrendered MD Link in mustache(5) #110

Closed tajmone closed 11 months ago

tajmone commented 6 years ago

For some reason, the ERB link in mustache(5) (in Partials) is not being rendered as expected:

They also inherit the calling context. Whereas in an [ERB]
(http://en.wikipedia.org/wiki/ERuby) file you may have this:

It looks like the markdown link was not rendered but carried over verbatim to HTML:

I couldn't figure which is the markdown source file used to build that page, otherwise I'd have made a PR to fix it.

tajmone commented 6 years ago

Probably it's due to indentation, the block being treated as a verbatim <pre> block, so the markdown link is not getting parsed.

In the mustache repo this problem is not present, as there is no link to Wikipedia's ERB page in that paragraph:

They also inherit the calling context. Whereas in ERB you may have
this: 
jgonggrijp commented 11 months ago

The problem was that the website does not (yet) automatically update when the manpages are updated in the mustache/mustache repository. As of November 2023, the manpage is current again and the broken link is no longer present.