return home
github project
Report bugs, contribute, or just get the code.
visit my website
anole docs - codeblocks
Format any text as code using the
an-codeblock container
. Note that you are still responsible to apply various styles to differentiate between distinct components of your code as needed, due to the limitations of HTML/CSS. However, whereever possible, Anole will attempt to make life easier by handling whatever it can.
//example codeblock function() { }
an-code-styles (.an-code-*)
You can add different colours and styles to your code using
.an-codeblock standard .an-code-comment .an-code-function .an-code-blue .an-code-green .an-code-purple .an-code-red .an-code-white
this section is always visible, but can be hidden.