Skip to content

Commit

Permalink
Merge pull request scopatz#314 from oileurre/patch-1
Browse files Browse the repository at this point in the history
Fix collisions between lists and emphasis
  • Loading branch information
scopatz committed Jun 9, 2020
2 parents a3e85b9 + 71c2191 commit 38a85e3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions creole.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,20 @@ syntax "Creole" "\.creole$"
# Headers
color magenta "^=.*=$"

# Emphasis
color yellow start="//" end="//"
color brightyellow start="\*\*" end="\*\*"

# Lists
color green "^[#*]+\s.*"

# Links and images
color cyan start="\[\[" end="\]\]"
color cyan start="\{\{" end="\}\}"

# Emphasis
color yellow "//.*//"
color brightyellow "\*\*.*\*\*"

# Pre and tables
color red start="\{\{\{" end="\}\}\}"
color red "\|"
color brightred "\|="

color ,red "\s+$"

0 comments on commit 38a85e3

Please sign in to comment.