We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9aa4e73 commit 1ed5e58Copy full SHA for 1ed5e58
javascripts/discourse/api-initializers/theme-initializer.gjs
@@ -677,6 +677,28 @@ function juliaRepl(hljs) {
677
],
678
},
679
680
+ {
681
+ className: "meta.prompt",
682
+ begin: /^julia>(?=\s+@?code_native\b)/,
683
+ relevance: 15,
684
+ starts: {
685
+ end: /^(?=julia>)/,
686
+ returnBegin: true,
687
+ contains: [
688
689
+ // The Julia command line itself
690
+ begin: /\s+@?code_native/,
691
+ end: /^(?![ ]{6})/,
692
+ subLanguage: "julia",
693
+ },
694
695
+ // The assembly that follows
696
697
+ subLanguage: ["armasm", "x86asm"],
698
699
+ ],
700
701
702
{
703
className: "meta.prompt",
704
begin: /^julia>/,
0 commit comments