I'm writing an article which contains different codes (html, bash, directory path, ...). How can I assign for each code type a specific view as it is possible in WYSIWYG editors? I'm especially asking for html codes which usually are shown colorful on internet)
Ex:
Html:
Bash:HTML Code:<html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml"> <body> Hello World! </body> </html>
Path:Code:sudo apt-get install tasksel
/opt/firefox
Bookmarks