dgarijo / Widoco

Wizard for documenting ontologies. WIDOCO is a step by step generator of HTML templates with the documentation of your ontology. It uses the LODE environment to create part of the template.
Apache License 2.0
275 stars 85 forks source link

Problem with Markdown Support in Widoco Generated HTML #676

Closed Rcaschultz closed 3 months ago

Rcaschultz commented 5 months ago

Line 16 in the generated HTML

jQuery(".markdown").each(function(el){jQuery(this).after(marked(jQuery(this).text())).remove()});

needs to be changed from marked to marked.parse . The function “marked” seems to have been deprecated awhile ago.

This issue breaks the markdown support.

dgarijo commented 5 months ago

Thanks a lot for the suggestion!

dgarijo commented 3 months ago

@Rcaschultz I double checked and currently the line Widoco produces is the same as the one you suggest. Maybe you are using an older version of the tool? This was fixed here: https://github.com/dgarijo/Widoco/issues/541