SyntaxHighlighter elisp brush
I plan to post some of my elisp code from emacs customizations. I want them to be pretty and useful, so I wrote an elisp brush for the SyntaxHighlighter javascript library.
There are only a few styles defined, but I think it adds to the code’s readability. I have included the comments, strings, tags and hashes of elisp in the styles. I have also set special coloring for a collection of the ‘def’ commands. A sample set is shown below.
;; Comment
(defun declared-function-name
(basic-function "string1")
(another-function :tag value))
;; Another comment
(defcustom custom-var t)
(defface face)
(defvar variable ‘setting)
(defmacro like/a/function)
;; Last Comment
(defadvice printMsg (before ‘basic-function)
(message "Marco!"))
That example is a bit too colorful for my taste, but I am hopeful that the highlighting will add something to real world elisp examples.
The implementation … Read More »
First Post!
All blogs and websites need to start somewhere. Here is mine with this first post.
I intend to use this space to write about tools (mostly software) and techniques that I find interesting. I am hopeful that this will serve as a place where I can not only share my knowledge, but improve upon it. I am especially interested in using this medium to improve my writing and technical explanations.
In the near term, I expect to share some tools that I use regularly along with why and how I use them. By sharing my workflow/toolset, I can also receive critiques on how to improve. I have already found that to be useful at work where we do just that!
Thanks for being here and please feel free to interact through email, IM, comments and critiques.