In your source, are you using tabs or spaces? What does the rendered HTML look like?
On Sunday, March 10, 2019 at 10:32:51 AM UTC-5, Evžen Wybitul wrote: > > Hey, I'm not sure this is a problem with Pollen, that's why I'm not > opening an issue straight away. I hope someone will be able to help me > resolve this problem. > > The code blocks in `highlight` aren't indented as they should be. > > Pollen code in .html.pm file: > > ◊highlight['python #:line-numbers? #f]{ > def dfs(v): > mark(v) > previsit(v) # will be useful later > for w in neighbors(v): > if not marked(w): > parent(w) = v > dfs(w) > postvisit(v) # will be useful later > } > > Is rendered as > > def dfs(v): > mark(v) > previsit(v) # will be useful later > for w in neighbors(v): > if not marked(w): > parent(w) = v > dfs(w) > postvisit(v) # will be useful later > > > Pollen code in pollen.rkt (only relevant parts) > > (require pollen/unstable/pygments) > > (provide highlight) > > I have some styling applied in .css, but I turned it off one by one and > the problem persisted. > > Do you have any idea where the problem could be? > -- You received this message because you are subscribed to the Google Groups "Pollen" group. To unsubscribe from this group and stop receiving emails from it, send an email to pollenpub+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.