766c9bad62
Use '_' instead of '.' for numbering cosmo escapes
...
because it gets syntax highlighted weird because '.' is not valid for
like a variable name so the syntax highlighter is splitting the escape
phrase at the '.' which means that phrase won't match when unescaped so
it fails to get unescaped
for example, this would fail:
```
$$ct
```
2025-06-25 21:10:30 -07:00
c26453415d
Clean up last spec
2025-06-25 15:49:54 -07:00
dce537b50c
Delete duplicate post
2025-06-25 15:25:08 -07:00
b7e6a93bf9
Add post draft
2025-06-25 14:51:12 -07:00
95b3589d22
Add markdown file
2025-06-25 14:51:12 -07:00
4ad479f8f9
Update commands in README.md
2025-06-25 14:47:23 -07:00
0e848c5e7b
Change cosmo '$' escape string in markdown renderer
...
so that we can put 2 selectors next to each other and still be able to
tell where one ends and the other one begins
2025-06-25 14:44:32 -07:00
95e9be6e60
Fix spelling in blurb
2025-06-22 10:34:25 -07:00
aa33976fc8
Add deploy command to Makefile
2025-06-22 10:29:40 -07:00
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