gregsexton / origami.el

A folding minor mode for Emacs
516 stars 41 forks source link

Different parser for each on org source block? #118

Open mgraham opened 1 year ago

mgraham commented 1 year ago

I have an org file that has json documents and ruby snippets:

#begin_src js
{
  "some": "json"
}
#end_src

#begin_src ruby
def somefunction
   print "hello"
end
#end_src

I would like origami to be able to use the json parser within the js source block and the ruby parser within the ruby block.

Is that possible?