Matthew Butterick

Results 190 comments of Matthew Butterick

Or maybe just release the source code for the whole project? Bootstrap is popular and I’m sure fellow Bootstrap lovers would enjoy seeing how it can be automated via Pollen.

1. A comparatively more gluttonous (but also more powerful) evaluation model. 2. Subfolders can have their own pagetree files, but they’re not required. I suggest you work backward from how...

See [Nesting pagetrees](https://docs.racket-lang.org/pollen/Pagetree.html?q=nesting%20pagetree#%28part._.Nesting_pagetrees%29) for one approach.

If you want to import ALL the data, you can just `(require "index.ptree")` into the table of contents page. Every `.ptree` file, including `index.ptree`, exports a `doc` variable with the...

Also look at the functions in [`txexpr`](https://docs.racket-lang.org/txexpr/index.html?q=txexpr) (included with Pollen) for when you’re dealing with X-expressions. For instance, if you wanted a flat list of the `li` elements from the...

That should work, though the error doesn’t make sense — it seems to be a file-permissions error triggered by something DrRacket is doing, not by Pollen per se. (Try running...

History has taught me that it’s difficult to answer these questions in the abstract. It would be better for you to post a concrete example of something that doesn’t work...

```racket #lang pollen/markup ◊(require markdown racket/string) ◊(define (md . strs) (cons '@ (parse-markdown (string-join strs "")))) Before the markdown block. ◊md{**hello** there! _world_} After the markdown block. ``` Result: ```...

To supplement @otherjoel’s answer: your question about file naming is also [addressed in the first tutorial](https://docs.racket-lang.org/pollen/first-tutorial.html?q=pollen#%28part._.Saving___naming_your_source_file%29) and emphasized with the warning **Don’t skip this section! It explains an essential Pollen...

If you can make Pollen go faster, great. Making it go faster while preserving its features is the hard part, I have found. > I think this is a performance...