[email protected] writes: > I've been wanting to use org-mode with haunt (1) for a long time. I > just recently started using a VERY SIMPLE WIP ox-commonmark.el (2) > that seems to work for me. Commonmark is a specified markdown > (https://commonmark.org/). It probably needs more work before it can > be included into org...But when I'm daily using it for my blog, may I > submit it as a patch for inclusion and get some feedback?
I think that would make sense. We traditionally support vanilla markdown, but it is not very useful in many cases, especially since many actively used markdown flavors are very restrictive about using direct html fragments inside. That said, your links are to private repository, so I have no idea about the actual code you are talking about. > I also found some code online that lets you export shell code like so (3): > > #+BEGIN_SRC shell :dir /ssh:[email protected]:~/prog/gnu/guile/gnucode.org > haunt build > #+END_SRC > > In the html export, the above would look like: > > <pre> > <code> > [email protected]:~/prog/gnu/guile/gnucode.org $ haunt build > </code> > </pre> > > I've just started using the above in my blog. I'm sure there are some bugs > to work out, but is there any interest in adding this feature to org-export ? > Perhaps org could define "org-export-insert-shell-prompt" and allow users to > use it via: > > (add-hook 'org-export-before-parsing-functions > #'org-export-insert-shell-prompt) Again, I cannot see the code, but I am not sure here - this is very specialized feature just for shell blocks. We kind of have a similar feature via noweb references: #+name: actual_bloc #+begin_src shell :exports none haunt build ls #+end_src #+begin_src sell :noweb yes [email protected]:~/prog/gnu/guile/gnucode.org $ <<actual_bloc>> #+end_src is equivalent to #+begin_src sell :noweb yes [email protected]:~/prog/gnu/guile/gnucode.org $ haunt build [email protected]:~/prog/gnu/guile/gnucode.org $ ls #+end_src -- Ihor Radchenko // yantar92, Org mode maintainer, 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>
