Matthew Butterick

Results 193 comments of Matthew Butterick

You could parse the contents of the `ul` tag function as markdown. See [related example](https://github.com/mbutterick/pollen-users/issues/18#issuecomment-551900405).

The tricky issue is how you transmit the result of a tag function, which is an X-expression, through a block of Markdown, which doesn’t know anything about X-expressions. @otherjoel [had...

For posterity, here is the original example of reapplying tag functions with `eval`: `"test.html.pm"` ``` #lang pollen Hello _world_! ``` `"pollen.rkt"` ```racket #lang racket (require (only-in markdown parse-markdown) pollen/decode pollen/tag...

> I’m pretty sure that information gets discarded by the reader. Yes, that’s correct.

When I’ve heard from org-moders in the past, I’ve suggested that it should be possible to add a `pollen/org-mode` dialect akin to `pollen/markdown` that parses org-mode files to X-expressions (which...

> If no alt is given, use the text contents as alt Beware — despite the name, `text` is a list of X-expression elements. If it contains more than one...

I [suggested this](https://groups.google.com/d/topic/racket-users/3QcJaWQsMNI/discussion) long ago, to no avail.

That’s great! Thanks for sharing. 100% appropriate for this list.

IIUC the general & correct answer is to implement the Unicode linebreaking algorithm, which respects the zero-width space. (I started a version of it [over here](https://github.com/mbutterick/unicode-linebreak), but have not made...

> only the null extension and the preprocessor extension are really used for templates. Right, because otherwise Pollen needs to support templates for templates, which leads to some notational difficulties...