Wiki markup?

2009-09-11
2012-11-14
  • Hi guys, is there any plugin to have colored wiki markup in Notepad++?...

     
  • Tobias
    Tobias
    2011-06-29

    Here is a user-defined language file (userDefineLang.xml) that you may play with:
    http://g.smotrov.com/mediawiki/ExtEdit/userDefineLang.xml

    Just copy it into your profiles Notepad++ appdata directory. In my case the location is "c:\Dokumente und Einstellungen\tom\Anwendungsdaten\Notepad++".

    In case the original source would disappear someday, here is a copy:

    <NotepadPlus>
        <UserLang name="MediaWiki" ext="wiki">
            <Settings>
                <Global caseIgnored="no" />
                <TreatAsSymbol comment="yes" commentLine="no" />
                <Prefix words1="yes" words2="yes" words3="yes" words4="no" />
            </Settings>
            <KeywordLists>
                <Keywords name="Delimiters">[{0]}0</Keywords>
                <Keywords name="Folder+"></Keywords>
                <Keywords name="Folder-"></Keywords>
                <Keywords name="Operators">/</Keywords>
                <Keywords name="Comment"> 1&lt;! 2--&gt; 0== 0=== 0====</Keywords>
                <Keywords name="Words1">&apos;&apos;&apos;</Keywords>
                <Keywords name="Words2">&apos;&apos;</Keywords>
                <Keywords name="Words3">*</Keywords>
                <Keywords name="Words4"></Keywords>
            </KeywordLists>
            <Styles>
                <WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
                <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
                <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
                <WordsStyle name="KEYWORD1" styleID="5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" />
                <WordsStyle name="KEYWORD2" styleID="6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="2" />
                <WordsStyle name="KEYWORD3" styleID="7" fgColor="FF80FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
                <WordsStyle name="KEYWORD4" styleID="8" fgColor="808040" bgColor="FFFFFF" fontName="" fontStyle="0" />
                <WordsStyle name="COMMENT" styleID="1" fgColor="408080" bgColor="FFFFFF" fontName="" fontStyle="0" />
                <WordsStyle name="COMMENT LINE" styleID="2" fgColor="000000" bgColor="FFFFFF" fontName="Georgia" fontStyle="1" />
                <WordsStyle name="NUMBER" styleID="4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
                <WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
                <WordsStyle name="DELIMINER1" styleID="14" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
                <WordsStyle name="DELIMINER2" styleID="15" fgColor="400040" bgColor="FFFFFF" fontName="" fontStyle="0" />
                <WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            </Styles>
        </UserLang>
    </NotepadPlus>