emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org mode to github markdown
@ 2023-05-07 17:25 Uwe Brauer
  2023-05-07 19:58 ` Ihor Radchenko
  2023-05-08  3:14 ` Ruijie Yu via General discussions about Org-mode.
  0 siblings, 2 replies; 8+ messages in thread
From: Uwe Brauer @ 2023-05-07 17:25 UTC (permalink / raw)
  To: emacs-orgmode



Hi 

I am using very very often org-mime either to edit an message (gnus)
buffer as a org buffer, and then I sometimes export it to html when
needed.

There seems no export backend for (github) markdown

On the other hand I still prefer to reply to github issues via email,
and not editing the web interface

There seems however to (github) markdow exporter (I also checked the
package-list)

Anybody has a suggestion?

Regards

Uwe Brauer 
-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: org mode to github markdown
@ 2023-05-07 17:51 Bernt Hansen
  2023-05-07 19:45 ` Ihor Radchenko
  0 siblings, 1 reply; 8+ messages in thread
From: Bernt Hansen @ 2023-05-07 17:51 UTC (permalink / raw)
  To: emacs-orgmode

Hi Uwe,

I'm not sure I fully understand your question.
You are looking for an org-mode export to markdown?  Isn't that already included in recent org versions?

C-c C-e C-s m M

Regards,
Bernt

(who has been away from the org-mode mailing list for way too many years...)

On 5/7/23 13:25, Uwe Brauer wrote:
> 
> Hi
> 
> I am using very very often org-mime either to edit an message (gnus)
> buffer as a org buffer, and then I sometimes export it to html when
> needed.
> 
> There seems no export backend for (github) markdown
> 
> On the other hand I still prefer to reply to github issues via email,
> and not editing the web interface
> 
> There seems however to (github) markdow exporter (I also checked the
> package-list)
> 
> Anybody has a suggestion?
> 
> Regards
> 
> Uwe Brauer




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: org mode to github markdown
  2023-05-07 17:51 org mode to github markdown Bernt Hansen
@ 2023-05-07 19:45 ` Ihor Radchenko
  2023-05-08  2:06   ` Max Nikulin
  0 siblings, 1 reply; 8+ messages in thread
From: Ihor Radchenko @ 2023-05-07 19:45 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

Bernt Hansen <bernt@norang.ca> writes:

> (who has been away from the org-mode mailing list for way too many years...)

Welcome back. Your GTD config got me started with Org years back :)

> I'm not sure I fully understand your question.
> You are looking for an org-mode export to markdown?  Isn't that already included in recent org versions?
>
> C-c C-e C-s m M

Markdown is not a single standard. There are several variations of the
syntax. See https://en.wikipedia.org/wiki/Markdown

We support the most basic "vanilla" markdown in ox-md.el. But Github
uses its own flavour, which we do not export to. In particular, vanilla
markdown allow direct HTML fragments, which are disabled in
GitHub/Reddit/many other websites for security reasons. Instead, they
invent new markdown constructs that are explicitly supported. But there
are numerous Markdown syntax extensions - it is hard to support them
unless we have a dedicated maintainer.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: org mode to github markdown
  2023-05-07 17:25 Uwe Brauer
@ 2023-05-07 19:58 ` Ihor Radchenko
  2023-05-07 19:59   ` Uwe Brauer
  2023-05-08  3:14 ` Ruijie Yu via General discussions about Org-mode.
  1 sibling, 1 reply; 8+ messages in thread
From: Ihor Radchenko @ 2023-05-07 19:58 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-orgmode

Uwe Brauer <oub@mat.ucm.es> writes:

> There seems however to (github) markdow exporter (I also checked the
> package-list)
>
> Anybody has a suggestion?

ox-pandoc

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: org mode to github markdown
  2023-05-07 19:58 ` Ihor Radchenko
@ 2023-05-07 19:59   ` Uwe Brauer
  0 siblings, 0 replies; 8+ messages in thread
From: Uwe Brauer @ 2023-05-07 19:59 UTC (permalink / raw)
  To: emacs-orgmode

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

>>> "IR" == Ihor Radchenko <yantar92@posteo.net> writes:

> Uwe Brauer <oub@mat.ucm.es> writes:
>> There seems however to (github) markdow exporter (I also checked the
>> package-list)
>> 
>> Anybody has a suggestion?

> ox-pandoc

Ok, thanks but I meant including it in email, that is import org syntax
to github md before sending the mail (like org-mime but not html instead
github markdown)


-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: org mode to github markdown
  2023-05-07 19:45 ` Ihor Radchenko
@ 2023-05-08  2:06   ` Max Nikulin
  2023-05-08 12:28     ` Uwe Brauer
  0 siblings, 1 reply; 8+ messages in thread
From: Max Nikulin @ 2023-05-08  2:06 UTC (permalink / raw)
  To: emacs-orgmode

On 08/05/2023 02:45, Ihor Radchenko wrote:
> In particular, vanilla
> markdown allow direct HTML fragments, which are disabled in
> GitHub/Reddit/many other websites for security reasons.

GitHub allows some HTML tags. I have noticed e.g. floating <img> and 
<details> collapsed fragments in
https://github.com/org-roam/org-roam/blob/main/README.md
see
https://github.com/org-roam/org-roam/blob/main/README.md?plain=1

P.S. GitHub allows raw <img> in .org files as well:
https://github.com/alphapapa/org-ql/blob/master/README.org?plain=1



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: org mode to github markdown
  2023-05-07 17:25 Uwe Brauer
  2023-05-07 19:58 ` Ihor Radchenko
@ 2023-05-08  3:14 ` Ruijie Yu via General discussions about Org-mode.
  1 sibling, 0 replies; 8+ messages in thread
From: Ruijie Yu via General discussions about Org-mode. @ 2023-05-08  3:14 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-orgmode


Uwe Brauer <oub@mat.ucm.es> writes:

> There seems no export backend for (github) markdown

I think you are looking for "ox-gfm".

I can find it via [search engine] and on melpa.

-- 
Best,


RY


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: org mode to github markdown
  2023-05-08  2:06   ` Max Nikulin
@ 2023-05-08 12:28     ` Uwe Brauer
  0 siblings, 0 replies; 8+ messages in thread
From: Uwe Brauer @ 2023-05-08 12:28 UTC (permalink / raw)
  To: emacs-orgmode

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

>>> "MN" == Max Nikulin <manikulin@gmail.com> writes:

> On 08/05/2023 02:45, Ihor Radchenko wrote:
>> In particular, vanilla
>> markdown allow direct HTML fragments, which are disabled in
>> GitHub/Reddit/many other websites for security reasons.

> GitHub allows some HTML tags. I have noticed e.g. floating <img> and
> <details> collapsed fragments in
> https://github.com/org-roam/org-roam/blob/main/README.md
> see
> https://github.com/org-roam/org-roam/blob/main/README.md?plain=1

But enumerated or bullet list, bold, underline and italics and  more
importantly source code follow a different markup syntax, isn't



> P.S. GitHub allows raw <img> in .org files as well:
> https://github.com/alphapapa/org-ql/blob/master/README.org?plain=1




-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-05-08 12:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-07 17:51 org mode to github markdown Bernt Hansen
2023-05-07 19:45 ` Ihor Radchenko
2023-05-08  2:06   ` Max Nikulin
2023-05-08 12:28     ` Uwe Brauer
  -- strict thread matches above, loose matches on Subject: below --
2023-05-07 17:25 Uwe Brauer
2023-05-07 19:58 ` Ihor Radchenko
2023-05-07 19:59   ` Uwe Brauer
2023-05-08  3:14 ` Ruijie Yu via General discussions about Org-mode.

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).