Skip to content

Commit

Permalink
Update instructions.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Chernev authored Jun 14, 2023
1 parent b3e4677 commit 14dbdd4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Highlighting/instructions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

XML files for Notepad++ highlighting are present in this folder, and I will add such files for other editors, when available. Meanwhile, you can use the instructions below to set the highlighting in your favourite editor manually - it shouldn't be too difficult. You can use different colors if you like, of course.

* Color keywords dark blue. Keywords are commas "," semicolons ";" and production arrows "->"
* Color comments green and make italic. Allow comments anywhere and allow comments folding. Line comments start with two forward slashes "//" and end with a new line symbol "\n". Delimited comments start with a forward slash and a star "/\*" and end with a star and a forward slash "\*/"
* Color tags dark blue as well, and make bold. Tags are groups that start with lesser then symbol "<" and end with a greater then symbol ">"
*
* Color decorators purple or cyan or magenta. Decorators are groups that start with curly bracket "{" and end with a curly bracket "}"
* Color links red. Links start with square bracket "\[" and end with square bracket "\]"
* Optionally, add one more group to color text in regular brackets in light-gray "(" and ")"

0 comments on commit 14dbdd4

Please sign in to comment.