* Preformatted text
@ 2012-03-29 7:49 Dashamir Hoxha
2012-03-29 10:23 ` Tassilo Horn
0 siblings, 1 reply; 3+ messages in thread
From: Dashamir Hoxha @ 2012-03-29 7:49 UTC (permalink / raw)
To: emacs-orgmode
Hello,
I am using org-mode for technical documentation (server
configurations etc.) I use extensively the preformatted
text to show a bunch of commands or pieces of configuration
files. While #+BEGIN_EXAMPLE and #+END_EXAMPLE is OK,
it looks a bit awkward and a bit inconsistent with the
rest of the light and beautiful markup of org-mode.
I have no idea about how easy or difficult would be to
implement it, but I think that it would be nice to have
some markup like these:
--8<--
-->8--
instead of
#+BEGIN_EXAMPLE
#+END_EXAMPLE
Just wanted to let you know about this idea, maybe somebody
can pick it up.
Have a nice day,
Dashamir
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Preformatted text
2012-03-29 7:49 Preformatted text Dashamir Hoxha
@ 2012-03-29 10:23 ` Tassilo Horn
2012-03-29 11:53 ` Neuwirth Erich
0 siblings, 1 reply; 3+ messages in thread
From: Tassilo Horn @ 2012-03-29 10:23 UTC (permalink / raw)
To: emacs-orgmode
Dashamir Hoxha <dashohoxha@gmail.com> writes:
Hi Dashamir,
> I have no idea about how easy or difficult would be to
> implement it, but I think that it would be nice to have
> some markup like these:
> --8<--
> -->8--
> instead of
>
> #+BEGIN_EXAMPLE
> #+END_EXAMPLE
You could prefix your snippets with ":", e.g., this is also a
preformatted snippet.
: /dev/sda1 /boot ext2 noauto,noatime 1 2
: /dev/sda3 / ext4 noatime,user_xattr 0 1
: /dev/sda2 none swap sw 0 0
: /dev/cdrom /mnt/cdrom auto noauto,ro 0 0
: debugfs /sys/kernel/debug debugfs defaults 0 0
Bye,
Tassilo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Preformatted text
2012-03-29 10:23 ` Tassilo Horn
@ 2012-03-29 11:53 ` Neuwirth Erich
0 siblings, 0 replies; 3+ messages in thread
From: Neuwirth Erich @ 2012-03-29 11:53 UTC (permalink / raw)
To: Tassilo Horn; +Cc: emacs-orgmode
And if you just avoid too much typing
<e TAB
will insert
#+BEGIN_EXAMPLE
#+END_EXAMPLE
On Mar 29, 2012, at 12:23 PM, Tassilo Horn wrote:
> Dashamir Hoxha <dashohoxha@gmail.com> writes:
>
> Hi Dashamir,
>
>> I have no idea about how easy or difficult would be to
>> implement it, but I think that it would be nice to have
>> some markup like these:
>> --8<--
>> -->8--
>> instead of
>>
>> #+BEGIN_EXAMPLE
>> #+END_EXAMPLE
>
> You could prefix your snippets with ":", e.g., this is also a
> preformatted snippet.
>
> : /dev/sda1 /boot ext2 noauto,noatime 1 2
> : /dev/sda3 / ext4 noatime,user_xattr 0 1
> : /dev/sda2 none swap sw 0 0
> : /dev/cdrom /mnt/cdrom auto noauto,ro 0 0
> : debugfs /sys/kernel/debug debugfs defaults 0 0
>
> Bye,
> Tassilo
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-29 11:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-29 7:49 Preformatted text Dashamir Hoxha
2012-03-29 10:23 ` Tassilo Horn
2012-03-29 11:53 ` Neuwirth Erich
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.