Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components.js

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
Expand Up @@ -1346,6 +1346,14 @@
"require": "markup",
"owner": "Golmote"
},
"wolfram": {
"title": "Wolfram language",
"alias": "wl",
"aliasTitles": {
"wl": "Mathematica"
},
"owner": "msollami"
},
"xeora": {
"title": "Xeora",
"require": "markup",
Expand Down
24 changes: 24 additions & 0 deletions components/prism-wolfram.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions components/prism-wolfram.min.js

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions examples/prism-wolfram.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<h2>Comments</h2>
<pre><code>
(* This is a comment *)
</code></pre>

<h2>Strings</h2>
<pre><code>
"foo bar baz"
</code></pre>

<h2>Numbers</h2>
<pre><code>
7
3.14
10.
.001
1e100
3.14e-10
2147483647
</code></pre>

<h2>Full example</h2>
<pre><code>
(* Most operators are supported *)
f /@ {1, 2, 3};
f @@ Range[10];
f @@@ y;
Module[{x=1},
Return @ $Failed
]
</code></pre>
1 change: 1 addition & 0 deletions plugins/autoloader/prism-autoloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@
"url": "uri",
"vb": "visual-basic",
"vba": "visual-basic",
"wl": "wolfram",
"xeoracube": "xeora",
"yml": "yaml"
}/*]*/;
Expand Down
2 changes: 1 addition & 1 deletion plugins/autoloader/prism-autoloader.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions plugins/show-language/prism-show-language.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@
"vb": "Visual Basic",
"wasm": "WebAssembly",
"wiki": "Wiki markup",
"wolfram": "Wolfram language",
"wl": "Mathematica",
"xeoracube": "XeoraCube",
"xml-doc": "XML doc (.net)",
"xojo": "Xojo (REALbasic)",
Expand Down
Loading