Overview
Comment: | Rename smallcaps→caps, add saylines tag |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
374734edadbc8fdbe1d4cea8612f405d |
User & Date: | joel on 2019-06-20 01:17:17 |
Other Links: | manifest | tags |
Context
2019-06-23
| ||
16:40 | Fix verse italic attribute to match docs check-in: d42e2609 user: joel tags: trunk | |
2019-06-20
| ||
01:17 | Rename smallcaps→caps, add saylines tag check-in: 374734ed user: joel tags: trunk | |
01:16 | Add space between list items (CSS) check-in: 3912ae79 user: joel tags: trunk | |
Changes
Modified code-docs/pollen.scrbl from [9c115120] to [c9accf05].
︙ | |||
175 176 177 178 179 180 181 | 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 | - + + - - + + + | The @code{fndef} for a given id may be placed anywhere in the source document, even before it is referenced. If you create a @code{fn} reference without a corresponding @code{fndef}, a @code{"Missing footnote definition!"} message will be substituted for the footnote text. Conversely, creating a @code{fndef} that is never referenced will produce no output, warning or error. @deftogether[(@defproc[(dialogue [elements xexpr?] ...) txexpr?] |
︙ | |||
271 272 273 274 275 276 277 | 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 | - + | @defproc[(b [element xexpr?] ...) txexpr?] @defproc[(strong [element xexpr?] ...) txexpr?] @defproc[(strike [element xexpr?] ...) txexpr?] @defproc[(ol [element xexpr?] ...) txexpr?] @defproc[(ul [element xexpr?] ...) txexpr?] @defproc[(item [element xexpr?] ...) txexpr?] @defproc[(sup [element xexpr?] ...) txexpr?] |
︙ |
Modified pollen.rkt from [5b4c5fa4] to [cbfc059e].
︙ | |||
85 86 87 88 89 90 91 | 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | - + + | ;(poly-branch-tag color) (poly-branch-tag ol) (poly-branch-tag ul) (poly-branch-tag item) (poly-branch-tag sup) (poly-branch-tag blockquote) (poly-branch-tag newthought) |
︙ |
Modified tags-html.rkt from [e503dfd4] to [38504446].
︙ | |||
53 54 55 56 57 58 59 | 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | - + + - + | code) (provide html-root html-item html-section html-subsection html-newthought |
︙ | |||
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | + + + + + | (define index-key (maybe-attr 'key attrs (tx-strs `(span ,@elems)))) `(a [[id ,(here-id (list "_idx-" (uri-encode index-key)))] [href ,(string-append "/keyword-index.html#" (uri-encode (string-downcase index-key)))] [data-index-entry ,index-key] [class "index-link"]] ,@elems)) ;; To be used within ◊dialogue (define (html-say . elems) `(@ (dt ,(car elems) (span [[class "x"]] ": ")) (dd ,@(cdr elems)))) ;; Same as ◊say, but preserve linebreaks (define (html-saylines . elems) (apply html-say (decode-linebreaks elems))) (define (html-verse attrs elems) (let* ([title (maybe-attr 'title attrs "")] [italic? (assoc 'italic attrs)] [pre-attrs (cond [italic? '([class "verse"] [style "font-style: italic"])] [else '([class "verse"])])] [pre-title (cond [(string>? title "") `(p [[class "verse-heading"]] ,title)] [else ""])]) |
︙ |