Comments (2)
LODE uses https://github.com/chjj/marked and <span class="markdown">
in various spots (see https://github.com/essepuntato/LODE/blob/master/src/main/webapp/extraction.xsl)
from ontospy.
Think the underlying problem here is that the Markdown templates use the Django linebreaks
filter here which per its documentation:
Replaces line breaks in plain text with appropriate HTML; a single newline becomes an HTML line break (
<br>
) and a new line followed by a blank line becomes a paragraph break (</p>
)
Which is entirely unnecessary since Markdown will handle line breaks naturally anyway.
The by-product of this is that Markdown in the rdfs:comment
's doesn't then get rendered because most Markdown renderers don't render Markdown inside HTML block elements like <p>
, if you manually strip out the <p>
tags from the resulting Markdown files then the actual Markdown from your ontology comments does get rendered.
So think the Markdown templates just want updating to not use the linebreaks
filter
from ontospy.
Related Issues (20)
- Fix JSON-LD load errors HOT 3
- Ontospy gendocs with individuals HOT 4
- How to Document Properties and Cardinalities Defined in SHACL Shapes? HOT 23
- testsuite failure: TypeError: object of type 'bool' has no len() HOT 2
- Update 'ifequal' template tags (Django 4 compatibility)
- lov.okfn.org is defunct HOT 2
- Read graph from rdflib rather than from (io) file? HOT 1
- Possible Problem with Django Version 4 HOT 2
- Lack of good quality SPARQL test queries HOT 2
- owl:ObjectProperty subclass not being found?
- Define Prefix for schema.org HOT 1
- Install on Mac OSX HOT 4
- Files copyright-protected but lacks licensing HOT 2
- Class "Usage" table does not recognize domains and ranges of superproperties HOT 1
- Possible bug in OntoSpy - visualization of individuals
- Python 3.12 compatibility HOT 1
- Current test framework constrains Python to < 3.10
- gendocs run on multiple ontologies produces randomly-sorted index.html HOT 2
- Using ontopsy to load ontology with ttl format HOT 1
- New lines in class description HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ontospy.