Hey everyone, I’m excited to announce the release of my new Obsidian plugin! You can check it out here.
It allows you to render LaTeX-style pseudocode inside a code block. The plugin is based on the pseudocode.js library and supports intuitive grammar and print quality. You can even insert math formulas in the pseudocode with ease. Plus, it comes with syntax highlighting (under construction) and auto-completion inside the code blocks. You can download the latest release from the releases page.
I am still waiting for my request to add this plugin to the official community plugins. I hope you can try it out, and if there are any issues, I will do my best to assist you.
Thank you @YT-Liu for the plugin! Great to log down some thoughts inside Obsidian.
It does not support “tap in” with the auto-completion though (have to use “enter” which is not so intuitive).
Be aware that all commands should look like \State instead of \STATE. But I just use all-capital in the demo, which would make the code not work in LaTeX. Good news is that the library is case-insensitive.
I will modified my demo and auto-completion within this week.
Hey this plugin is exactly what I was looking for!
i use a black theme, then the pseudocode is not so nice.
To solve this issue, i wrote a css as follows to make the background white.
Here’s the code in case others need it:
div.ps-root {
background-color: white;
opacity: 1;
color: black
}
It would be great if you allow the plugin to change the bg color.