Skip to content

mdhurst1/asciidoc-highlight

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Highlight for Asciidoc

This repository has highlight configurations of AsciiDoc language for text editors:

Notepad++

This is a simple highlight for Notepad++.

Note
There is a video that shows how to install: http://www.youtube.com/watch?v=_i-KxSb7cJM

How to install

Download and save the file notepad++/userDefineLang.xml

Go to Notepad++ menu "Language/Define your language" and import that file.

Caution
If you are using the Notepad++ in portugese, it has a translation error: The Import and Export button are switched.

gedit

This file was originaly downloaded from https://launchpad.net/asciidoc-gtk-highlight But I’m creating new versions here on github.

How to install

Cloning repository
Clone repository
cd YOURDIR
git clone https://github.com/edusantana/asciidoc-highlight
Create a symbolic link
mkdir -p ~/.local/share/gtksourceview-3.0/language-specs/
cd ~/.local/share/gtksourceview-3.0/language-specs/
ln -s YOURDIR/asciidoc-highlight/gedit/asciidoc.lang
mkdir -p ~/.local/share/gtksourceview-2.0/language-specs/;
cd ~/.local/share/gtksourceview-2.0/language-specs/
ln -s YOURDIR/asciidoc-highlight/gedit/asciidoc.lang
Note
I recommend this method because you can keep updating from repository:
Getting updates
cd asciidoc-highlight
git pull
Without cloning
GtkSourceView version 3
mkdir -p ~/.local/share/gtksourceview-3.0/language-specs/
cd ~/.local/share/gtksourceview-3.0/language-specs/
wget https://raw.github.com/edusantana/asciidoc-highlight/master/gedit/asciidoc.lang
GtkSourceView version 2
mkdir -p ~/.local/share/gtksourceview-2.0/language-specs/;
cd ~/.local/share/gtksourceview-2.0/language-specs/
wget https://raw.github.com/edusantana/asciidoc-highlight/master/gedit/asciidoc.lang

Follow the repository to get updates

Remember to follow the repository to be notified of updates.

About

Highlight for the Asciidoc language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published