Skip to content

Instantly share code, notes, and snippets.

@tierpod
Created August 19, 2014 13:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tierpod/e91f8be5ec9ca3980fb6 to your computer and use it in GitHub Desktop.
Save tierpod/e91f8be5ec9ca3980fb6 to your computer and use it in GitHub Desktop.
AkelPad markdown syntax highlight (coder plugin)
;----------------------------------------------;
; Coder plugin syntax file ;
;----------------------------------------------;
;Author: wisgest
;===============
;Colors
; Color need to be in #RRGGBB format.
; If color equal to zero, then color ignored.
;
;Font styles
; 0 ignored.
; 1 normal.
; 2 bold.
; 3 italic.
; 4 bold italic.
;
;For comfort file viewing/editing set tab size to 8 or higher.
Files:
;==========
;File types
;==========
*.md
*.markdown
;----------------------------------------------;
; HighLight ;
;----------------------------------------------;
;Flags (sum of the members)
; 1 case sensitive.
; 2 word is a composition of characters ("Words:" section only). Example: "0123456789" - highlight words that contain only digits.
; 4 quote end required ("Quotes:" section only).
; 8 quote start string is ignored and last meet delimiter used as quote start ("Quotes:" section only).
; 16 quote end string is ignored and first meet delimiter used as quote end ("Quotes:" section only).
; 32 don't highlight quote start ("Quotes:" section only).
; 64 don't highlight quote end ("Quotes:" section only).
; 128 don't catch and don't highlight quote start ("Quotes:" section only).
; 256 don't catch and don't highlight quote end ("Quotes:" section only).
; 512 quote start, delimiter or word located at line start.
; 1024 quote end, delimiter or word located at line end.
; 2048 quote start is surrounded with delimiters ("Quotes:" section only).
; 4096 quote end is surrounded with delimiters ("Quotes:" section only).
; 8192 quote doesn't contain delimiters ("Quotes:" section only).
; 16384 only quote start string is catched ("Quotes:" section only).
Font:
;=================================================================
;FontStyle FontSize FaceName
;=================================================================
${HighLight_FontStyle} ${HighLight_FontSize} ${HighLight_FaceName}
Colors:
;=============================================================================================================================================================================================================================================================================================================================================================================================================================
;BasicTextColor BasicBkColor SelTextColor SelBkColor LineTextColor LineBkColor LineBorderColor AltTextColor AltBkColor AltBorderColor ColumnColor MarkerColor CaretColor UrlColor ActiveUrlColor VisitUrlColor
;=============================================================================================================================================================================================================================================================================================================================================================================================================================
${HighLight_BasicTextColor} ${HighLight_BasicBkColor} ${HighLight_SelTextColor} ${HighLight_SelBkColor} ${HighLight_LineTextColor} ${HighLight_LineBkColor} ${HighLight_LineBorderColor} ${HighLight_AltTextColor} ${HighLight_AltBkColor} ${HighLight_AltBorderColor} ${HighLight_ColumnColor} ${HighLight_MarkerColor} ${HighLight_CaretColor} ${HighLight_UrlColor} ${HighLight_ActiveUrlColor} ${HighLight_VisitUrlColor}
AutoMark:
;====================================================================================================================
;AutoMarkFlags AutoMarkFontStyle AutoMarkTextColor AutoMarkBkColor
;====================================================================================================================
${HighLight_AutoMarkFlags} ${HighLight_AutoMarkFontStyle} ${HighLight_AutoMarkTextColor} ${HighLight_AutoMarkBkColor}
Quotes:
;======================================================================
;Flags Font Color Color Quote Quote Escape Quote Quote
; style text bkgrnd start end char include exclude
;======================================================================
; hr
513 2 0 ${DEL1} "* * *" "" "" "" ""
513 2 0 ${DEL1} "***" "" "" "" ""
513 2 0 ${DEL1} "*****" "" "" "" ""
513 2 0 ${DEL1} "- - -" "" "" "" ""
513 2 0 ${DEL1} "-----" "" "" "" ""
;513=1+512 Headers
513 2 ${IF} 0 "#" "" "" "" ""
;513=1+512
513 0 ${OP} 0 "==" "" "" "" ""
;513=1+512
513 0 ${OP} 0 "--" "" "" "" ""
;513=1+512 Quote
513 0 ${DEL1} 0 ">" " " "" "" ""
;513=1+512 Bullet
513 2 ${NUM} 0 "*" " " "" "" ""
;513=1+512 Bullet
513 2 ${NUM} 0 "+" " " "" "" ""
;513=1+512 Bullet
513 2 ${NUM} 0 "-" " " "" "" ""
; italic, bold
1 2 ${STR} 0 "**" "**" "" "" ""
1 2 ${STR} 0 "__" "__" "" "" ""
1 3 ${STR} 0 "*" "*" "" "" ""
1 3 ${STR} 0 "_" "_" "" "" ""
;1=1
1 0 ${NUM} 0 "![" "]" "" "" ""
1 2 ${TAG} 0 "[[" "]]" "" "" ""
1 2 ${TAG} 0 "[" "]" "" "" ""
1 0 ${TAG} 0 "(" ")" "" "" ""
1 0 ${TAG} 0 "'" "'" "" "" ""
1 0 ${TAG} 0 `"` `"` "" "" ""
1 0 ${TAG} 0 "``" "``" "" "" ""
1 0 ${TAG} 0 "`" "`" "" "" ""
; Code
513 0 ${IF} 0 " " "" "" "" ""
513 0 ${IF} 0 " " "" "" "" ""
; CUSTOM Comment
1 0 ${COMM} 0 ";" "" "" "" ""
Delimiters:
;======================================
;Flags Font Color Color Char(s)
; style text bkgrnd
;======================================
1 2 ${DEL1} 0 "->"
Words:
;===================================
;Flags Font Color Color Word
; style text bkgrnd
;===================================
;----------------------------------------------;
; CodeFold ;
;----------------------------------------------;
;Flags (sum of the members)
; 1 case sensitive.
; 2 force get fold name for function list from left at the fold start ("Folds:" section only).
; 4 force get fold name for function list from right at the fold start, including fold start ("Folds:" section only).
; 8 fold start located at line start ("Folds:" section only).
; 16 fold start located at line end ("Folds:" section only).
; 32 fold end located at line start ("Folds:" section only).
; 64 fold end located at line end ("Folds:" section only).
; 128 don't catch fold end ("Folds:" section) or skip end ("Skips:" section).
; 256 additional to 128 flag - more priority is given to sibling level instead of parent level ("Folds:" section only).
; 512 comment fold - fold ignore any other folds and skips inside ("Folds:" section only).
; 1024 reserved.
; 2048 deny fold - founded fold will be ignored ("Folds:" section only).
; 4096 xml fold - "<tag" and "</tag>", "<single" and "/>", "<single" and ">" ("Folds:" section only).
; 8192 don't check delimiters from left of fold start ("Folds:" section only).
; 16384 don't check delimiters from right of fold start ("Folds:" section only).
; 32768 don't check delimiters from left of fold end ("Folds:" section only).
; 65536 don't check delimiters from right of fold end ("Folds:" section only).
; 131072 deny delimiters ("Folds:" section only).
FoldPanel:
;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
;PanelFirstBkColor PanelSecondBkColor PanelNormalFoldColor PanelActiveFoldColor PanelNormalNodeOpenBkColor PanelNormalNodeCloseBkColor PanelActiveNodeOpenBkColor PanelActiveNodeCloseBkColor PanelNormalNodeOpenSignColor PanelNormalNodeCloseSignColor PanelActiveNodeOpenSignColor PanelActiveNodeCloseSignColor
;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
${CodeFold_PanelFirstBkColor} ${CodeFold_PanelSecondBkColor} ${CodeFold_PanelNormalFoldColor} ${CodeFold_PanelActiveFoldColor} ${CodeFold_PanelNormalNodeOpenBkColor} ${CodeFold_PanelNormalNodeCloseBkColor} ${CodeFold_PanelActiveNodeOpenBkColor} ${CodeFold_PanelActiveNodeCloseBkColor} ${CodeFold_PanelNormalNodeOpenSignColor} ${CodeFold_PanelNormalNodeCloseSignColor} ${CodeFold_PanelActiveNodeOpenSignColor} ${CodeFold_PanelActiveNodeCloseSignColor}
FoldList:
;================================================
;ListTextColor ListBkColor
;================================================
${CodeFold_ListTextColor} ${CodeFold_ListBkColor}
TagMark:
;============================================================================================================
;TagMarkFlags TagMarkFontStyle TagMarkTextColor TagMarkBkColor
;============================================================================================================
${CodeFold_TagMarkFlags} ${CodeFold_TagMarkFontStyle} ${CodeFold_TagMarkTextColor} ${CodeFold_TagMarkBkColor}
Skips:
;=============================
;Flags Skip Skip Escape
; start end char
;=============================
Folds:
;=============================================================
;Flags Font Color Color Fold Fold Delimiters
; style text bkgrnd start end
;=============================================================
;513=1+512
513 0 ${COMM} 0 "```" "```" "" "" ""
513 0 0 0 "#" "#" "" "" ""
;----------------------------------------------;
; AutoComplete ;
;----------------------------------------------;
Blocks:
;======================================================================
;Abbreviations and blocks
;
; $~abbr normal abbreviation.
; $=abbr exact abbreviation. May contain delimiters.
; $[] set caret to this position. Can be multiple (hot spots).
; $[text] select text. Can be multiple (hot spots).
; $$ symbol $.
; $\] escape symbol ]. Can be used in $[text] block: $[One [1$\] ].
; ${VAR} variable assigned from Coder::Settings.
; $; comment line.
;======================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment