From: Benjamin Beckwith <bnbeckwith@gmail.com>
To: Eric S Fraga <e.fraga@ucl.ac.uk>, emacs-orgmode@gnu.org
Subject: Re: Re: How to customize the org-mode's BEGIN_SRC HTML output
Date: Wed, 25 Aug 2010 10:49:40 -0400 [thread overview]
Message-ID: <AANLkTi=YNod4-_ewroEUdM0QamqsUxjK+vGTia3QUbOz@mail.gmail.com> (raw)
In-Reply-To: <87hbijumal.wl%ucecesf@ucl.ac.uk>
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)))
------------------------------
next prev parent reply other threads:[~2010-08-25 14:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-25 3:32 How to customize the org-mode's BEGIN_SRC HTML output Benjamin Beckwith
2010-08-25 8:30 ` Eric S Fraga
2010-08-25 12:23 ` Rafael
2010-08-25 12:51 ` Puneeth
2010-08-25 13:15 ` Eric S Fraga
2010-08-26 1:54 ` Rafael
2010-08-29 9:37 ` Puneeth
2010-08-29 18:18 ` Rafael
2010-09-01 10:42 ` Puneeth
2010-09-01 14:38 ` Rafael
2010-08-29 19:28 ` Eric S Fraga
2010-08-25 14:49 ` Benjamin Beckwith [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-08-24 13:39 Benjamin Beckwith
2010-08-25 2:36 ` Rafael
2010-08-25 8:19 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=YNod4-_ewroEUdM0QamqsUxjK+vGTia3QUbOz@mail.gmail.com' \
--to=bnbeckwith@gmail.com \
--cc=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).