mode-funcdown.js is for Ace Editor.
funcdown.sublime-syntax is for Sublime Text Editor.
fncd.lua is for Textadept.
Place/save the file in Your ace/ directory where main ace.js is and other mode-*.js files are.
Place/save the file into Your ~/.config/sublime-text/Packages/User directory.
*(step 2 is not necessary if automatic extension detection is irrelevant)
-
Place/save the file into
~/.textadept/lexersdirectory. -
Open main
lexer.luafile from textadept source directory and findlocal extensionsline almost at the bottom of the file, then add something like this['fncd.phtml'] = 'fncd', fncd = 'fncd',where appropriate, right before/abovegdor afterfstabextension.
Funcdown is "c-function syntax alike" markup language generator.
Go to Funcdown Playground to see it in action.