[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] example filter for code blocks?
From: |
John Kitchin |
Subject: |
Re: [O] example filter for code blocks? |
Date: |
Thu, 26 Sep 2013 15:34:57 -0400 |
I think the approach I sent earlier would potentially work. essentially you would get the html code and wrap it with whatever text is required for the folding mode. you would return something like (format "<code to fold>%s</end code to fold>" text) where text is the html code from the src block. In latex I had to parse that text a little bit because the first line was \begin{minted}... and the last line was \end{minted}, which I did not want.