[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using htmlize.el with linum-mode
From: |
Xah Lee |
Subject: |
Re: Using htmlize.el with linum-mode |
Date: |
Thu, 19 May 2011 15:05:15 -0700 (PDT) |
User-agent: |
G2/1.0 |
On May 12, 5:22 pm, chengiz <chen...@my-deja.com> wrote:
> Is it possible to use htmlize.el such that line numbers in the source
> code also show up in the html? Thank you.
i don't think so because the line numbers in the margin is not part of
buffer text, and htmlize works with buffer text.
google's code prettify might be able to do it
http://xahlee.org/js/google-code-prettify/index.html
also, i don't think it's too hard to write a js so it adds line
numbers to pre blocks.
Xah