From: Renzo Been <swangdoodles@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Markup in BEGIN_EXAMPLE and alike block
Date: Sat, 20 Aug 2011 17:46:41 +0000 (UTC) [thread overview]
Message-ID: <loom.20110820T193926-939@post.gmane.org> (raw)
In-Reply-To: CAKwiCqvx_PprhXqRSMOTvoBH6XwEBFWXE5rfDZVARrEgE0MKBg@mail.gmail.com
Vladimir Lomov <lomov.vl <at> gmail.com> writes:
> Hi.
> I want to emphasize (using bold monospace font when exporting to HTML)
> some parts of text in example block. Consider the following example:
> *** Determining adapter chipset and used driver
> #+BEGIN_EXAMPLE
> zbox$ lspci -v
> ...
> 04:00.0 Network controller: *RaLink RT2860*
> Subsystem: Device 1a3b:1059
> Flags: bus master, fast devsel, latency 0, IRQ 19
> Memory at febf0000 (32-bit, non-prefetchable) [size=64K]
> Capabilities: [40] Power Management version 3
> Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
> Capabilities: [70] Express Endpoint, MSI 00
> Capabilities: [100] Advanced Error Reporting
> Kernel driver in use: *rt2800pci*
> Kernel modules: rt2800pci
> #+END_EXAMPLE
> But in exported html file the '*'s are remain. Is it possible to use
> markup in BEGIN_EXAMPLE? Or I have to use another type of block?
This would do the trick:
*** Determining adapter chipset and used driver
#+BEGIN_HTML
<pre>zbox$ lspci -v
...
04:00.0 Network controller: <b>RaLink RT2860</b>
Subsystem: Device 1a3b:1059
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at febf0000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: <b>rt2800pci</b>
Kernel modules: rt2800pci</pre>
#+END_HTML
#+OPTIONS: f:nil
Ciao,
Renzo
prev parent reply other threads:[~2011-08-20 17:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-08 5:00 Markup in BEGIN_EXAMPLE and alike block Vladimir Lomov
2011-08-19 22:48 ` Bastien
2011-08-20 17:46 ` Renzo Been [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20110820T193926-939@post.gmane.org \
--to=swangdoodles@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.