emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: T.F. Torrey <tftorrey@tftorrey.com>
To: bzg@gnu.org
Cc: emacs-orgmode@gnu.org, enda_k2@yahoo.com
Subject: Re: shorter way of #+HTML: <br />
Date: Thu, 07 Jun 2012 13:40:35 -0700 (MST)	[thread overview]
Message-ID: <20120607.134035.51507978.tftorrey@tftorrey.com> (raw)
In-Reply-To: <87txyoxpck.fsf@gnu.org>

Won't using "\\" in this construct produce what the OP requested?

This:

#+BEGIN_SRC org
Some text\\
new line.
#+END_SRC

Becomes this:

#+BEGIN_HTML
<p>Some text<br/>
new line.
</p>
#+END_HTML

Terry
-- 
T.F. Torrey

> Hi Enda,
> 
> Enda <enda_k2@yahoo.com> writes:
> 
>> When I prepare an org file to convert into html, I have to have a lot
>> of
>>
>> #+HTML: <br />
>>
>> to break lines without a full full line space between them, should
>> there be or is there is shorter way to doing this?
> 
> Nope, sorry.  But you can easily insert it repeartedly by using
> Emacs internals (registers etc.)
> 
> Best,
> 
> -- 
>  Bastien
> 
> 

      reply	other threads:[~2012-06-07 20:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-06 17:02 shorter way of #+HTML: <br /> Enda
2012-06-06 17:28 ` Bernt Hansen
2012-06-06 17:49   ` Enda
2012-06-06 18:33 ` Bastien
2012-06-07 20:40   ` T.F. Torrey [this message]

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=20120607.134035.51507978.tftorrey@tftorrey.com \
    --to=tftorrey@tftorrey.com \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=enda_k2@yahoo.com \
    /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).