* 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ messages in thread
* Re: org mode to github markdown
2023-05-07 17:25 org mode to github markdown 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ messages in thread
* Re: org mode to github markdown
2023-05-07 17:25 org mode to github markdown Uwe Brauer
2023-05-07 19:58 ` Ihor Radchenko
@ 2023-05-08 3:14 ` Ruijie Yu via General discussions about Org-mode.
2023-05-08 13:04 ` [ox-gfm] (was: org mode to github markdown) Uwe Brauer
1 sibling, 1 reply; 12+ 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] 12+ 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; 12+ 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] 12+ messages in thread
* [ox-gfm] (was: org mode to github markdown)
2023-05-08 3:14 ` Ruijie Yu via General discussions about Org-mode.
@ 2023-05-08 13:04 ` Uwe Brauer
2023-05-08 17:40 ` Bhavin Gandhi
0 siblings, 1 reply; 12+ messages in thread
From: Uwe Brauer @ 2023-05-08 13:04 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1058 bytes --]
>>> "GdaO" == General discussions about Org-mode <Ruijie> writes:
> Uwe Brauer <oub@mat.ucm.es> writes:
>> There seems no export backend for (github) markdown
> I think you are looking for "ox-gfm".
Thanks, I realized this is an important pkg for my purpose (although I
have to see how it can be included in my email export)
But also I can run the function org-gfm-export-as-markdown directly, I
would like to include this exporter directly in the usual
org-export-dispatch but I don't now how, there is now repository or
webapge for this package, and also no email address of the author
Anybody has an idea how to incldue ox-gfm into the org-export-dispatch?
Thanks
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/
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [ox-gfm] (was: org mode to github markdown)
2023-05-08 13:04 ` [ox-gfm] (was: org mode to github markdown) Uwe Brauer
@ 2023-05-08 17:40 ` Bhavin Gandhi
2023-05-09 11:10 ` [ox-gfm] Uwe Brauer
0 siblings, 1 reply; 12+ messages in thread
From: Bhavin Gandhi @ 2023-05-08 17:40 UTC (permalink / raw)
To: emacs-orgmode
On Mon, 8 May 2023 at 18:35, Uwe Brauer <oub@mat.ucm.es> wrote:
>
> >>> "GdaO" == General discussions about Org-mode <Ruijie> writes:
>
> > Uwe Brauer <oub@mat.ucm.es> writes:
>
> >> There seems no export backend for (github) markdown
>
> > I think you are looking for "ox-gfm".
>
> Thanks, I realized this is an important pkg for my purpose (although I
> have to see how it can be included in my email export)
>
> But also I can run the function org-gfm-export-as-markdown directly, I
> would like to include this exporter directly in the usual
> org-export-dispatch but I don't now how, there is now repository or
> webapge for this package, and also no email address of the author
I think this is the package we are referring to?
https://github.com/larstvei/ox-gfm
https://list.orgmode.org/m2eh1adtye.fsf@ifi.uio.no/
> Anybody has an idea how to incldue ox-gfm into the org-export-dispatch?
The README says loading ox-gfm adds it to the org-export-dispatch, I
tried doing (require 'ox-gfm) and it started showing up. But I don't
know if there is any other/better way to do that.
--
Bhavin Gandhi (bhavin192) | https://geeksocket.in
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [ox-gfm]
2023-05-08 17:40 ` Bhavin Gandhi
@ 2023-05-09 11:10 ` Uwe Brauer
2023-05-11 1:10 ` [ox-gfm] Corwin Brust
0 siblings, 1 reply; 12+ messages in thread
From: Uwe Brauer @ 2023-05-09 11:10 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]
> On Mon, 8 May 2023 at 18:35, Uwe Brauer <oub@mat.ucm.es> wrote:
> I think this is the package we are referring to?
> https://github.com/larstvei/ox-gfm
Thanks very much
> https://list.orgmode.org/m2eh1adtye.fsf@ifi.uio.no/
> The README says loading ox-gfm adds it to the org-export-dispatch, I
> tried doing (require 'ox-gfm) and it started showing up. But I don't
> know if there is any other/better way to do that.
Indeed, the require call is need.
Sigh: the package system sometimes confuses me because the functions
provided by ox-gfm were already available after installation, without
the require command.
Anyhow thanks very much
--
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] 12+ messages in thread
* Re: [ox-gfm]
2023-05-09 11:10 ` [ox-gfm] Uwe Brauer
@ 2023-05-11 1:10 ` Corwin Brust
0 siblings, 0 replies; 12+ messages in thread
From: Corwin Brust @ 2023-05-11 1:10 UTC (permalink / raw)
To: emacs-orgmode
On Tue, May 9, 2023 at 6:10 AM Uwe Brauer <oub@mat.ucm.es> wrote:
>
> > The README says loading ox-gfm adds it to the org-export-dispatch, I
> > tried doing (require 'ox-gfm) and it started showing up. But I don't
> > know if there is any other/better way to do that.
>
> Indeed, the require call is need.
>
> Sigh: the package system sometimes confuses me because the functions
> provided by ox-gfm were already available after installation, without
> the require command.
>
FWIW, I believe installing the package (at least, via package.el) will
load it (as a side effect?).
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2023-05-11 1:11 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-07 17:25 org mode to github markdown 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.
2023-05-08 13:04 ` [ox-gfm] (was: org mode to github markdown) Uwe Brauer
2023-05-08 17:40 ` Bhavin Gandhi
2023-05-09 11:10 ` [ox-gfm] Uwe Brauer
2023-05-11 1:10 ` [ox-gfm] Corwin Brust
-- strict thread matches above, loose matches on Subject: below --
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
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).