-
Notifications
You must be signed in to change notification settings - Fork 6
kurtjx/n3-mode-for-emacs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is an emacs major mode for editing N3 and Turtle RDF documents originally created by Hugo Haas and Dave Pawson. Put n3-mode.el somewhere emacs can find it (e.g. ~/.emacs.d/vendor/) And add the following to your .emacs file: ;; ;; n3 mode ;; (add-to-list 'load-path "{path}/n3-mode.el") (autoload 'n3-mode "n3-mode" "Major mode for OWL or N3 files" t) ;; Turn on font lock when in n3 mode (add-hook 'n3-mode-hook 'turn-on-font-lock) (setq auto-mode-alist (append (list '("\\.n3" . n3-mode) '("\\.owl" . n3-mode)) auto-mode-alist)) ;; Replace {path} with the full path to n3-mode.el on your system. ;; If you want to make it load just a little faster; ;; C-x f n3-mode.el ;; M-x byte-compile-file n3-mode.el
About
a major mode for emacs for editing n3 and turtle RDF
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published