We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We use docson to show referenced JSON in our JSON Schema documentation. Here's an example: https://delta-datawarehouse.readthedocs.io/en/latest/explanation.html#unique-id-of-the-farmer The title is used in the box header but not with the properties.
title
I also use examples which I would like to show. Here's an example of how we use examples: https://delta-datawarehouse.readthedocs.io/en/latest/explanation.html#start-production-year And sometimes I also use $extended-description.
examples
$extended-description
I would like to show:
I tried adding <div class="signature-title">{{title this}}</div> to the box template but that results in an error.
<div class="signature-title">{{title this}}</div>
Please advice.
The text was updated successfully, but these errors were encountered:
I managed to get the title working after adding to docson.js:
Handlebars.registerHelper('title', function(schema) { var value = schema.title; if( !value ) return ""; var text = value; if(marked) { marked.setOptions({gfm: true, breaks: true}) return new Handlebars.SafeString(marked(text)); } else { return text; } });
And using <div class="signature-title">{{title this}}</div> in the box template.
Doing the same for the examples results in an error in the marked library.
marked
Sorry, something went wrong.
No branches or pull requests
We use docson to show referenced JSON in our JSON Schema documentation.
Here's an example: https://delta-datawarehouse.readthedocs.io/en/latest/explanation.html#unique-id-of-the-farmer
The
title
is used in the box header but not with the properties.I also use
examples
which I would like to show. Here's an example of how we useexamples
: https://delta-datawarehouse.readthedocs.io/en/latest/explanation.html#start-production-yearAnd sometimes I also use
$extended-description
.I would like to show:
I tried adding
<div class="signature-title">{{title this}}</div>
to the box template but that results in an error.Please advice.
The text was updated successfully, but these errors were encountered: