emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output


From: Benjamin Beckwith
Subject: Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output
Date: Wed, 25 Aug 2010 10:49:40 -0400

Eric,

I should mention that I am using the "Syntaxhighlighter Evolved"
plugin for Wordpress.  It allows shortcodes with just the language
name.  I probably should use the [sourcecode lang="..."] variant
instead.  Maybe that is why my version did not work for you?

My latest page created with my code can be found at:
http://bnbeckwith.com/index.php/writegood-mode/

As for the linebreaks, in my haste to share I forgot that I was
advising the org2blog-strip-newlines function. Which effectively keeps
all line breaks.
------------------------------
(defadvice org2blog-strip-new-lines (around
bnb/org2blog-disable-newline-removal)
  "Disables the function the removes newlines from the generated HTML"
  (setq ad-return-value (ad-get-arg 0)))
------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]