|
From: | John Hendy |
Subject: | Re: [Orgmode] Re: HTML export and blogging to blogger.com |
Date: | Wed, 17 Nov 2010 23:44:14 -0600 |
Hi,
Samuel Wales wrote:
So I guess I'd like to know if:
1) anybody has a /hook in the exporter/ to unfill paragraphs, or
This is what I've come up with for posting comments on WordPress blogs, without <p> tags and linebreaks. It can probably be written more elegantly, but it does what I need. Haven't tried Blogger but possibly it works for you as well.
,----
| code
`-----
,-----| (defun unfill-region (begin end)| "Remove all linebreaks in a region but leave paragraphs, indented text| (quotes, code) and lines starting with an asterisk (lists) intact"| (interactive "r")| (replace-regexp "\\([^\n]\\)\n\\([^ *\n]\\)" "\\1 \\2" nil begin end))`-----
Yours,
Christian
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Prev in Thread] | Current Thread | [Next in Thread] |