emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daryl Manning <dwm+orgmode@wakatara.com>
To: emacs-orgmode@gnu.org
Subject: Tricking org-mode into using markdown conventions
Date: Mon, 4 May 2020 00:22:16 +0800	[thread overview]
Message-ID: <CAL9aZkuX9dQ3TKxUJXbrSVuQ8icW9thPUJ8poW03JW0XDmY77w@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 830 bytes --]

While using C-c C-, is easy enough for insertion and such, I was wondering
if there was any way of having org-mode honour markdown conventions for
things like code fences and quotes.

``` elisp
#+begin_src
#+end_src

#+begin_quote
#+end_quote
```

being a bit nicer to read with

``` go
code block
```
as well as

> And gentlemen in England now-a-bed.
> Shall think themselves accurs'd they were not here,
> And hold their manhoods cheap whiles any speaks.
> That fought with us upon Saint Crispin's day.

Just curious as to whether that's possible. YMMV before you start debating
on whether you think this is a good idea or not... =]

Of course, I'd want the code highlighting especially to work that way,
though... =]  Less concerned with whether it works in export modes for the
moment, more about display atm.

thanks!
Daryl.

[-- Attachment #2: Type: text/html, Size: 3177 bytes --]

             reply	other threads:[~2020-05-03 16:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-03 16:22 Daryl Manning [this message]
2020-05-03 16:39 ` Tricking org-mode into using markdown conventions Diego Zamboni
2020-05-04  4:15   ` Ihor Radchenko
2020-05-04  7:37     ` Diego Zamboni
2020-05-05  8:12       ` Daryl Manning
2020-05-05  8:42         ` Diego Zamboni
2020-05-05  8:46         ` Ihor Radchenko
2020-05-05 17:22           ` Berry, Charles via General discussions about Org-mode.

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=CAL9aZkuX9dQ3TKxUJXbrSVuQ8icW9thPUJ8poW03JW0XDmY77w@mail.gmail.com \
    --to=dwm+orgmode@wakatara.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).