artemchernyak
2020-3-26 02:19:00

template.html.p &lt;html&gt;&lt;head&gt;&lt;meta charset="UTF-8"/&gt;&lt;/head&gt; &lt;body style="background: #f6f6f6"&gt; &lt;div style="background: white; margin: 3em; border:10px double gray; padding: 3em; font-size: 130%;"&gt; This file is ◊here &lt;hr /&gt; ◊(-&gt;html ◊doc) &lt;/div&gt;&lt;/body&gt;&lt;/html&gt; http://uptown.html.pm\|uptown.html.pm #lang pollen ◊headline{Pollen markeup} ◊items{ ◊item{Your ◊strong{wanted} it - you ◊em{got} it.} ◊item{◊link["<https://google.com/search?q=racket>"]{search for Racket}} } They are both exactly the examples from the tutorial.


artemchernyak
2020-3-26 02:29:35

Oh and I have a pollen.rkt file in the same directory with:

#lang racket/base (require pollen/tag) (provide (all-defined-out)) (define headline (default-tag-function 'h2)) (define items (default-tag-function 'ul)) (define item (default-tag-function 'li 'p)) (define (link url text) `(a ((href ,url)) ,text))


sorawee
2020-3-26 02:37:18

@artemchernyak that’s weird


sorawee
2020-3-26 02:37:24

Here’s an output from my computer


sorawee
2020-3-26 02:37:36

sorawee
2020-3-26 02:38:32

The content of the source files is exactly what you provided above