Add css highlighting support
gitile/code.scm
| 19 | 19 | (define-module (gitile code) | |
| 20 | 20 | #:use-module (ice-9 match) | |
| 21 | 21 | #:use-module (syntax-highlight) | |
| 22 | - | #:use-module (syntax-highlight scheme) | |
| 22 | + | #:use-module (syntax-highlight css) | |
| 23 | 23 | #:use-module (syntax-highlight gitignore) | |
| 24 | + | #:use-module (syntax-highlight scheme) | |
| 24 | 25 | #:use-module (gitile highlight shell) | |
| 25 | 26 | #:export (display-code | |
| 26 | 27 | display-formatted-code)) | |
… | |||
| 34 | 35 | ("bash" "shell") | |
| 35 | 36 | ("m4" "m4") | |
| 36 | 37 | ("ac" "ac") | |
| 38 | + | ("css" "css") | |
| 37 | 39 | (_ (match (basename path) | |
| 38 | 40 | ("bootstrap" "shell") | |
| 39 | 41 | (_ "unknown")))))) | |
… | |||
| 50 | 52 | ("gitignore" (highlight lex-gitignore content)) | |
| 51 | 53 | ("m4" (highlight lex-m4 content)) | |
| 52 | 54 | ("ac" (highlight lex-autoconf content)) | |
| 55 | + | ("css" (highlight lex-css content)) | |
| 53 | 56 | (_ (list content)))) | |
| 54 | 57 | ||
| 55 | 58 | (define (split-lines content) | |