There's a feature, I'm interested in making... which is allowing the Codeblock to be able to be inside a markdown table (you can't add ``` inside a markdown table I think?
The reason why I'm interested in doing this is that. I use this plugin to also keep track of how I plan the day and what I end up doing and put them on a table side by side. currently, I'm using screenshots, ideally, I want to implement this in a code block (at least for the right side of the table)
One workaround I found is that it's possible to embed a code block, but the formatting makes it look weird.
| original plan | reality |
| ------------- | ------------- |
|![](#^46d4c0) | ![](#^4623c0) |
| | |
Since this is a really niche feature, I'm just looking for suggestions/ help so I can try to implement this.
Not sure if the native this.registerMarkdownCodeBlockProcessor doesn't support other forms of code block language annotation (I can't find much documentation on this).
There's a feature, I'm interested in making... which is allowing the Codeblock to be able to be inside a markdown table (you can't add ``` inside a markdown table I think?
It's possible in DataView query (https://forum.obsidian.md/t/dataview-query-inside-obsidian-s-markdown-table-how/32148, https://forum.obsidian.md/t/how-to-make-dataview-works-in-table/20445). From, my understanding, in obsidian-google-cal, I think we rely on this API by obsidian
registerMarkdownCodeBlockProcessor
? Not sure if this API parses alternative forms of code blocks, but from my experiments, it only works with ``` code blocks.https://github.com/YukiGasai/obsidian-google-calendar/blob/e944bd6fb422f7b4adbf3b55a4b5f2ba765d1751/src/GoogleCalendarPlugin.ts#L244.
The reason why I'm interested in doing this is that. I use this plugin to also keep track of how I plan the day and what I end up doing and put them on a table side by side. currently, I'm using screenshots, ideally, I want to implement this in a code block (at least for the right side of the table)
One workaround I found is that it's possible to embed a code block, but the formatting makes it look weird.
Since this is a really niche feature, I'm just looking for suggestions/ help so I can try to implement this.