-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add x86/x86_64 assembly to list of supported languages in code blocks #4976
Comments
Thanks for the suggestion @qbe4, Saving this for my implementation reference: https://github.com/codemirror/legacy-modes/blob/main/mode/gas.js |
Hi @ssddanbrown, in fact the syntax used in GAS is the AT&T syntax which is quite ugly and not very used. The most commonly used syntax is the Intel syntax. To see the difference between the two : AT&T Syntax and Intel Syntax. I doesn't have found an implementation of the Intel syntax in codemirror :( |
Describe the feature you'd like
I'd like syntax highlighting for x86 and x86_64 assembly languages in code blocks.
Describe the benefits this would bring to existing BookStack users
Be able to read assembly code blocks more easily.
Can the goal of this request already be achieved via other means?
No
Have you searched for an existing open/closed issue?
How long have you been using BookStack?
3 months to 1 year
Additional context
There is "x86asm" in highlight.js : https://github.com/highlightjs/highlight.js/blob/main/src/languages/x86asm.js
The text was updated successfully, but these errors were encountered: