-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate ToC subsections from markdown sections #707
Comments
In theory it should work. have you tried to add the headers in html? (e.g., The only thing I can think of is that the rendering library in markdown takes more time than the script used to create the table. |
I'm afraid it did not work. I got the same result as if using markdown headers (i.e., Another thing I noticed is that <https://example.org> rdf:type owl:Ontology ;
dcterms:description """
Here starts the Description section (should appear as section 3 in the ToC).
<h3> Examples </h3>
Here starts the Examples subsection (should appear as section 3.1 in the ToC).
"""@en. Thanks! |
Try |
Worked like a charm! Thanks! |
I will leave the issue open until this is documented. The reason why the markdown does not work is that it does not know the |
Would be nice to generate new subsections from the sections specified in markdown text. These new subsections would be included in the Table of Contents at the beginning.
For example, in the following:
I have tested this issuing the following command
java -jar widoco.jar -ontFile ontology/ontology.ttl -outFolder $dir -webVowl -uniteSections -oops -rewriteAll -getOntologyMetadata
. TheExamples
subsection is rendered in the final HTML (without numbering), though the ToC is not updated.Widoco release 1.4.24.
Thanks!
The text was updated successfully, but these errors were encountered: