emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Austin Frank <austin.frank@gmail.com>
To: emacs-orgmode@gnu.org
Subject: circufix notation for inline <pre> and <strike> styling
Date: Tue, 06 Jun 2006 10:38:14 -0400	[thread overview]
Message-ID: <44859356.6030900@gmail.com> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello!

We already have the ability to add bold, italic, and underline
formatting to our documents using circumfix notation (*bold*, /italic/,
_underlined_).  We can also style entire lines using <pre> notation by
having a colon  as the first non-whitespace character on a line, or by
putting the line under a QUOTE headline.  I would like to see an
additional feature added to org which would allow some circumfix
notation to be exported with <pre></pre> tags.  This would be useful for
including single programming terms in a sentence and setting them apart
visually.  I'm envisioning something like

    many programming languages have a ;for; loop.

which would be exported as

    <p>many programming languages have a <pre>for</pre> loop.</p>

another possible syntax would be

    many programming languages have a #for# loop.

The specific markup used isn't really important to me, but I would like
the ability to specify this kind of formatting for single words instead
of whole lines.

While I'm at it, is strike-through possible?

    -event- was canceled

could become

    <p><strike>event</strike> was canceled</p>

Again, any syntax which is easy to parse is fine with me.

As mentioned in my previous mail, it would also be nice if these two
pieces of markup could stack with each other and the existing markup syntax.

Thanks,
/au
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEhZNVlHMl2/XbR4ERAl8wAKDHEYpsMHtkFyTaPshbrfPCbUL6tQCfRIz/
vHEghc+6mzHrVGA51qkDaeo=
=zeJO
-----END PGP SIGNATURE-----

             reply	other threads:[~2006-06-06 14:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-06 14:38 Austin Frank [this message]
2006-06-06 14:49 ` circufix notation for inline <pre> and <strike> styling Carsten Dominik
2006-06-10 12:24   ` Bastien

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=44859356.6030900@gmail.com \
    --to=austin.frank@gmail.com \
    --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).