Adding a code block
When writing technical articles about programming it is often very helpful to add examples of code. With Writerie we make this easy, here is how.
# Add a code block
As you may already know, in the Rich Text Editor Mode when you start a new line a menu appears with formatting options. From there choose the code button.
After clicking on it, you will get an empty code block. So far so good.
# What language is it?
Once you start writing actual code, we try, mostly successful, to detect the programming language and show it. Furthermore, we will also highlight your code accordingly. Pretty neat, isn't it
# Change it
You can of course always change your code, we will still autodetect the language and highlight the code.
That's it for this short tip. Keep writing!