167 Commits

Author SHA1 Message Date
2ecd7d2d9f Publish post 'Add a Pygments Lexer to Chroma' (#2)
Reviewed-on: #2
2025-06-22 16:56:45 +00:00
7839e30c28 Remove file that doesn't exist 2025-06-21 18:50:52 -07:00
9e3597e781 Use a variable to avoid repetition in Makefile 2025-06-21 18:47:47 -07:00
d5efecb3d5 Fix dev.nginx.conf 2025-06-20 15:18:57 -07:00
eebda46c39 Won't try to copy non-existent stylesheet 2025-06-20 15:12:20 -07:00
0513fd5c21 Edit README 2025-06-20 15:11:06 -07:00
c768adaadb Clean up comments and unused styles in stylesheets 2025-06-16 20:18:05 -07:00
3793a7ac6e Add failure error message to pygments lua-filter 2025-06-16 20:18:05 -07:00
41baffb445 Refactor pygments.moon 2025-06-16 20:18:05 -07:00
a4258167df Add spec for unlabeled code blocks 2025-06-16 20:18:05 -07:00
3f39bfeae7 Add test for syntax highlighting moonscript code block 2025-06-16 20:18:05 -07:00
26f77eab9a Add specs for pandoc markdown renderer 2025-06-16 20:18:05 -07:00
070bac262f Use a simpler nginx.conf in dev 2025-06-16 20:18:05 -07:00
b7ee091288 Remove commented-out code in pygments.moon 2025-06-16 20:18:05 -07:00
ec08aacba4 Remove commented-out lines in app.css 2025-06-16 20:18:05 -07:00
ada734af26 Remove unused file 2025-06-16 20:18:05 -07:00
f50997d75e Remove unused stylesheets 2025-06-16 20:18:05 -07:00
406208f26c Add tests for nginx.conf directives (#1)
Adds tests to make sure all the `nginx.conf` directives (the redirects and rewrites and such) are all correct.

- Uses the `busted` framework
- The tests are run in a Docker container by the bash script `test.sh`
- Self-signed certs are generated in `Dockerfile` for all the domain names
- Adds new `Makefile` commands: `test`, `image-build` and `image-rm`

Reviewed-on: #1
Co-authored-by: Catalin Mititiuc <webdevcat@proton.me>
Co-committed-by: Catalin Mititiuc <webdevcat@proton.me>
2025-06-16 20:18:05 -07:00
449a41aa85 Highlight some code-blocks with 'console' label
Update the dracula theme styles to make 'console' highlighting more legible
2025-06-16 20:18:05 -07:00
791cd692c6 Fix MIME types for apps.miti.sh 2025-06-16 20:18:05 -07:00
babcbd78e3 More redirect config 2025-06-16 20:18:05 -07:00
53a582be83 Add config to redirect from old domain 2025-06-16 20:18:05 -07:00
77659b6c65 Update links 2025-06-16 20:18:05 -07:00
4f75c44a6d Add original values in app.ini as comments 2025-06-16 20:18:05 -07:00
0b3317ace8 Fix indentation in nginx.conf 2025-06-16 20:18:05 -07:00
9f58d37c32 Update nginx.conf for SSL and add gitea app.ini file 2025-06-16 20:18:05 -07:00
4bec526ba8 Change some copy 2025-06-16 20:18:05 -07:00
59336774f7 Remove unused template 2025-06-16 20:18:05 -07:00
4fb02b461f Remove comment 2025-06-16 20:18:05 -07:00
5b4d131974 Fix blurb in post list 2025-06-16 20:18:05 -07:00
64fdceb10c Re-add highlight code outside of pre tags 2025-06-16 20:18:05 -07:00
79ccbcaa92 Use ARGs to reduce line lengths in Dockerfile 2025-06-16 20:18:05 -07:00
075097904c Cleanup 2025-06-16 20:18:05 -07:00
1b6cf0d89b Fix dates on posts 2025-06-16 20:18:05 -07:00
91ca5c2f3f Use Pandoc lua-filter instead of Pygments plugin
for syntax highlights
2025-06-16 20:18:05 -07:00
da77583a5d Add custom plugin 2025-06-16 20:18:05 -07:00
5842309cb0 Remove bad style 2025-06-16 20:18:05 -07:00
8ed0e4f2dd Update moonscript syntax highlight colors 2025-06-16 20:18:05 -07:00
1dcaa134fc Fix lexer 2025-06-16 20:18:05 -07:00
edb413665d Adjust pandoc syntax highlight style 2025-06-16 20:18:05 -07:00
d634dbd3f5 Add pygments colors to pandoc stylesheet 2025-06-16 20:18:05 -07:00
5bf9a45007 Highlight unlabeled blocks 2025-06-16 20:18:05 -07:00
e041143b27 WIP 2025-06-16 20:18:05 -07:00
58af575386 Make code highlight sample page 2025-06-16 20:18:05 -07:00
895ef13d73 Write Pandoc lua-filter in MoonScript and compile to Lua on build 2025-06-16 20:18:05 -07:00
46aa6c829f WIP: Syntax highlight colors 2025-06-16 20:18:05 -07:00
6bd8898125 Add latest pandoc installation to Dockerfile
so we can get syntax highlighting for heex code
2025-06-16 20:18:05 -07:00
babe6e6f40 Add moonscript as a code block class 2025-06-16 20:18:05 -07:00
f15f3f5011 Clean up 2025-06-16 20:18:05 -07:00
9b4ab48705 Clean up 2025-06-16 20:18:05 -07:00