pollen.rkt
#lang racket
(require pollen/decode pollen pollen/unstable/pygments)
(provide highlight root)
(define (root . elements)
(decode
`(root (body ,@elements))
#:txexpr-elements-proc decode-paragraphs))
file.html.pm
#lang pollen
◊highlight['python]{
def preprocess(g):
clock
> On Mar 11, 2019, at 2:48 AM, Evžen Wybitul wrote:
>
> The `decode-pagaraphs` incorrectly wraps blocks of code in tags into
> paragraphs. I'm using pygments, so within the the code is split into
> various s, which I think is causing the problem. Simply seting
> as block-tag didn't fix
The `decode-pagaraphs` incorrectly wraps blocks of code in tags into
paragraphs. I'm using pygments, so within the the code is split into
various s, which I think is causing the problem. Simply seting
as block-tag didn't fix this. Is there any other way? Thanks.
--
You received this