Hello,

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

Thanks,

Joshua Branson

1) https://dthompson.us/projects/haunt.html
2) https://git.sr.ht/~gnucode/spacemacs.d/tree/master/item/lisp/ox-commonmark.el
3) https://git.sr.ht/~gnucode/spacemacs.d/tree/master/item/init.el#L990

Reply via email to