silverbulletmd / silverbullet

The knowledge hacker's notebook
https://silverbullet.md
MIT License
2.29k stars 167 forks source link

Feature request: Add syntax highlighting for assembly #1020

Open r3qip3r opened 1 month ago

r3qip3r commented 1 month ago

Would it be possible to add highlighting support for assembly? Should be named something like x86asm, I believe.

zefhemel commented 1 month ago

Realistically what I need to include this is an existing CodeMirror language mode for it. There's a long list here: https://github.com/codemirror/legacy-modes/tree/main/mode

But I don't see an assembly one on there.

r3qip3r commented 1 month ago

:-( That's a pity. Hope that CodeMirror changes this. CM supports 'gas' which is an alternative syntax. I myself use the Intel syntax, which is present in highlight.js.