Remix.run Logo
profsummergig 3 days ago

Off topic, but I discovered this recently:

http://tangentnotes.com/

Similar to Obsidian, but offers good code syntax highlighting in markdown files.

I found it useful for reading code in markdown.

wiether 3 days ago | parent | next [-]

> Supports ... code blocks with syntax highlighting.

Based on the documentation and the screenshot next to it, I don't see how it differs from Obsidian on this point.

A Markdown code block in Obsidian is going to be highlighted as expected.

Actually it appears that they both relies on Prism to achieve this :

- https://help.obsidian.md/syntax#Code+blocks

- https://github.com/suchnsuch/Tangent/blob/main/apps/tangent-...

profsummergig 3 days ago | parent [-]

I've used Obsidian and Tangent. For whatever reason, I've found Tangent's code highlighting brighter, more colorful, and (maybe hence?) more easily readable. Obsidian is more muted. Steve Jobs would have preferred Obsidian.

aldonius 3 days ago | parent [-]

Surely that's plugin-modifiable in Obsidian.

whatevertrevor 2 days ago | parent [-]

Doesn't even need a plugin, just some custom CSS iirc.

tietjens 3 days ago | parent | prev [-]

You can also create a code block in markdown and then write the language type at the top. This also creates highlighting.

‘’’go {your code} ‘’’

profsummergig 3 days ago | parent [-]

Thanks for this tip.

I've seen this feature off and on in some online code editors. I didn't know this was a (universal?) Markdown feature. Is it supposed to work universally in all Markdown editors (e.g. VSCode's Markdown view)?