Commit Graph
6 Commits
Author SHA1 Message Date
Jan Jurzitza 8a78c9699e feat: allow using filenames in codeblocks (#2455)
Allow using filenames in codeblocks

- If there is a dot in the language name, we instead treat the first line after ``` as the filename and everything after the last dot as the language
- we use a custom "data-label" attribute on the code block to specify the name of the file (so only compatible with cinny from this point onwards)
2026-03-14 18:54:03 +11:00
Jan Jurzitza 7549ce1bec feat: allow using filenames in codeblocks (#2455)
Allow using filenames in codeblocks

- If there is a dot in the language name, we instead treat the first line after ``` as the filename and everything after the last dot as the language
- we use a custom "data-label" attribute on the code block to specify the name of the file (so only compatible with cinny from this point onwards)
2026-03-14 18:54:03 +11:00
Jan Jurzitza d0a798383a Center image in URL preview card (#1556)
center is more likely to have relevant content than top left
2025-01-10 15:12:05 +05:30
Jan Jurzitza e0e84f3756 Center image in URL preview card (#1556)
center is more likely to have relevant content than top left
2025-01-10 15:12:05 +05:30
Jan Jurzitza 9163896172 Make small images not scale up in image viewer (#1554)
Instead show them in real resolution
2023-11-28 20:22:20 +05:30
Jan Jurzitza 2889a72b81 Make small images not scale up in image viewer (#1554)
Instead show them in real resolution
2023-11-28 20:22:20 +05:30