Scripts and snippets for markdown (Obsidian & Quartz)
Go to file
2024-04-07 23:05:10 +02:00
examples Fixed an issue with character encoding 2024-04-07 23:05:10 +02:00
obsidian-snippets First version 2024-04-06 17:34:05 +02:00
program Fixed an issue with character encoding 2024-04-07 23:05:10 +02:00
LICENSE Initial commit 2024-04-05 21:02:27 +00:00
README.md First version 2024-04-06 17:34:05 +02:00
screenshot.png First version 2024-04-06 17:34:05 +02:00

convert-usage

Obsidian snippet

For my Japanese Grammar (JPG) project, I have created a style for explanation on the usage of certain grammar points. There is no simple way to make it in Markdown, so I tried to make it with the least amount of HTML possible. You can find it in examples/sample.md. However, for it to work, you have to import a custom CSS snippet to Obsidian, which is located in obsidian-snippet/usage.css. But using it, you will have this kind of result:

Obsidian screenshot

convert-usage.py

In my Quartz rendering of my markdown data, I want this kind of data to be in a callout. However, it is not possible to combine HTML and Markdown in Obsidian. For that purpose, this script encapsulates it directly in HTML. To make it both compatible in Obsidian and Quartz, and to be still easy to write, it's done with this python script. This is probably super specific and will not be of use for anybody except me!