Re: [pollen] Highlight code blocks are indenting too much

2019-03-11 Thread Evžen Wybitul
I just solved the issue. In my template.html I replaced ◊(map ->html (select-from-doc 'body here)) with ◊(map ->html (select-from-doc 'body here)) And the problem is solved. Not sure if there is a better way. -- You received this message because you are

Re: [pollen] Highlight code blocks are indenting too much

2019-03-10 Thread Evžen Wybitul
Thank you for the responses and for the quick fix! It didn't help in my case, though. I think the problem might lie somewhere in html genreration / html rendering in my browser (Safari). The relevant portion of the html code [.1.] mark [...] pre­vis­it [...]

Re: [pollen] Highlight code blocks are indenting too much

2019-03-10 Thread Matthew Butterick
When I tried your example, I got the right result. But there is a known issue with the Scribble indenter (which Pollen uses) changing the indentation within curly braces, which it shouldn't. [1] Thus, your example persuades me that it's better policy for Pollen to leave whatever indenting is

[pollen] Highlight code blocks are indenting too much

2019-03-10 Thread Evžen Wybitul
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?