Open maelle opened 4 years ago
I suppose the CSS could also be tinkered with (to add spacing between languages), but that is probably best kept for custom CSS.
Something like
content pre {
margin-top: 20px;
}
This PR can only handle one otherlangs (i.e. I'll need to add for loops for maps in otherlangs)
In this PR there is now
I'm not sure whether any of this might be useful to add to the theme, but if some of it is, happy to incorporate feedback & to document stuff.
Fix #54
I realize this PR is not very elegant yet.
The body data attributes are now a list of all languages including "otherlangs", and a list by tab of languages to go with the main language.
It now works
in the JavaScript tab one sees both Java and JavaScript,
JSON is in all tabs.