Re: [ox-gfm]
On Tue, May 9, 2023 at 6:10 AM Uwe Brauer 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?).
Re: [ox-gfm]
> On Mon, 8 May 2023 at 18:35, Uwe Brauer 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@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/ smime.p7s Description: S/MIME cryptographic signature
Re: [ox-gfm] (was: org mode to github markdown)
On Mon, 8 May 2023 at 18:35, Uwe Brauer wrote: > > >>> "GdaO" == General discussions about Org-mode writes: > > > Uwe Brauer 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@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
[ox-gfm] (was: org mode to github markdown)
>>> "GdaO" == General discussions about Org-mode writes: > Uwe Brauer 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/ smime.p7s Description: S/MIME cryptographic signature
[O] ox-gfm and toc
Hi all, I am confused about how tables of content are handled in ox-gfm. If I let org-mode do the default toc (#+OPTIONS: toc:t) then the TOC seems to work -- even without using the generated anchors for the headlines. Test file: --8<---cut here---start->8--- * Test File With text. --8<---cut here---end--->8--- exports to --8<---cut here---start->8--- - [Test File](#test-file) # Test File With text. --8<---cut here---end--->8--- This does not even use "orgheadline1". If I disable the default TOC and include a TOC later via `#+TOC: headlines 2` this toc is constructed in html and uses links to anchors. But these anchors are not present in the md file anymore, so the TOC is broken. Test file: --8<---cut here---start->8--- #+OPTIONS: toc:nil #+TOC: headlines 2 * Test File With text. --8<---cut here---end--->8--- exports to --8<---cut here---start->8--- Table of Contents 1. Test File # Test File With text. --8<---cut here---end--->8--- which refers to non-existent "orgheadline1". Is this a bug in ox-gfm? Best, Andreas