April 2017

S M T W T F S
      1
2345678
910111213 1415
16171819 2021 22
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
marcmagus: (regexp)
Tuesday, April 14th, 2009 04:14 am

I . . . really don't want to admit how much time I just spent fixing my vim syntax files for jlj and markdown so they work the way I want them to.

All because something about the way they were interacting with one another was making it treat ' as the beginning of a quoted string, so, for instance, everything after the ' in don't until the next ' somewhere would get highlighted bright magenta, making it hard to tell what was going on and interfering with other highlighting.

The time consuming thing, beside tracking down what was causing that, was that I wasn't happy with the way the mkd.vim I picked up off vim.org handled "reference-style" links.

At least it's working in a way I don't hate now. I'll say again, this Markdown thing is pretty cool. Something out there has probably made it completely obsolete by now.

Ah, shoot; I just remembered I'm not happy with the way the markdown syntax handles emphasis and strong. Work to do sometime.

Tags:
marcmagus: Me playing cribbage in regency attire (Default)
Thursday, April 2nd, 2009 03:54 pm

As I alluded to in my last post, I've configured JLJ to format my posts using Markdown for conversion to HTML. Getting it set up was a little trickier than I'd expected, due to a flaw in the JLJ documentation.

To get JLJ using Markdown, you must add the following to your .livejournal.rc:

format: external preformatted none jerry
formatter: /usr/bin/markdown

Obviously, you should replace the path if your markdown is installed elsewhere. In theory, I expect one should be able to use an alternate processor; I may try multimarkdown sometime.

Tags: