NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
A userscript that collapses markdown headers
"Set GitLab collapse markdown state" to collapsed (expanded by default) which collapses all header content (except h1) initially.
"Set GitLab collapse markdown colors" to an JSON array with six color values (accepts named, hex, rgb, hsl, etc). For example:
// palette generated by http://tools.medialab.sciences-po.fr/iwanthue/
// (colorblind friendly; soft)
["#6778d0", "#ac9c3d", "#b94a73", "#56ae6c", "#9750a1", "#ba543d"]
These six colors apply to the H1 through H6 header arrows respectively.


Rating: 0