Website: Auto-generate example header with component title, list of aliases and dependencies. `overrideExampleHeader` can be used to generate only the component title.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675
diff --git a/components.js b/components.js
index 6da3a95..1510773 100644
--- a/components.js
+++ b/components.js
@@ -44,6 +44,7 @@ var components = {
},
"markup": {
"title": "Markup",
+ "alias": ["html", "xml", "svg", "mathml"],
"aliasTitles": {
"html": "HTML",
"xml": "XML",
@@ -58,12 +59,14 @@ var components = {
},
"clike": {
"title": "C-like",
- "option": "default"
+ "option": "default",
+ "overrideExampleHeader": true
},
"javascript": {
"title": "JavaScript",
- "option": "default",
- "require": "clike"
+ "require": "clike",
+ "alias": "js",
+ "option": "default"
},
"abap": {
"title": "ABAP",
@@ -130,6 +133,7 @@ var components = {
},
"batch": {
"title": "Batch",
+ "alias": "shell",
"owner": "Golmote"
},
"bison": {
@@ -153,6 +157,7 @@ var components = {
"csharp": {
"title": "C#",
"require": "clike",
+ "alias": "dotnet",
"owner": "mvalipour"
},
"cpp": {
@@ -200,6 +205,7 @@ var components = {
"django": {
"title": "Django/Jinja2",
"require": "markup",
+ "alias": "jinja2",
"owner": "romanvm"
},
"docker": {
@@ -433,6 +439,7 @@ var components = {
"opencl": {
"title": "OpenCL",
"require": "cpp",
+ "overrideExampleHeader": true,
"owner": "Milania1"
},
"oz": {
@@ -506,7 +513,7 @@ var components = {
"owner": "multipetros"
},
"q": {
- "title": "Q",
+ "title": "Q (kdb+ database)",
"owner": "Golmote"
},
"qore": {
@@ -619,6 +626,7 @@ var components = {
"typescript": {
"title": "TypeScript",
"require": "javascript",
+ "alias": "ts",
"owner": "vkbansal"
},
"vbnet": {
diff --git a/examples.js b/examples.js
index a686fa7..ba275c5 100644
--- a/examples.js
+++ b/examples.js
@@ -104,6 +104,42 @@ function getFileContents(filepath) {
});
}
+function buildContentsHeader(id) {
+ var language = languages[id];
+ var header = '<h1>' + language.title + '</h1>';
+ if (language.overrideExampleHeader) {
+ return header;
+ }
+ if (language.alias) {
+ var alias = language.alias;
+ if (Prism.util.type(alias) !== 'Array') {
+ alias = [alias];
+ }
+
+ header += '<p>To use this language, use one of the following classes:</p>';
+ header += '<ul><li><code class="language-none">"language-' + id + '"</code></li>';
+ alias.forEach(function (alias) {
+ header += '<li><code class="language-none">"language-' + alias + '"</code></li>';
+ });
+ header += '</ul>';
+ } else {
+ header += '<p>To use this language, use the class <code class="language-none">"language-' + id + '"</code>.</p>';
+ }
+ if (language.require) {
+ var require = language.require;
+ if (Prism.util.type(require) !== 'Array') {
+ require = [require];
+ }
+
+ header += '<p><strong>Dependencies:</strong> The following dependencies need to be loaded before this component: ';
+ header += require.map(function (dep) {
+ return '<code class="language-none">' + dep + '</code>';
+ }).join(', ');
+ header += '.</p>';
+ }
+ return header;
+}
+
function update(id) {
var language = languages[id];
if (language.enabled) {
@@ -111,7 +147,7 @@ function update(id) {
language.examplesPromise = getFileContents(language.examplesPath);
}
language.examplesPromise.then(function (contents) {
- examples[id].innerHTML = contents;
+ examples[id].innerHTML = buildContentsHeader(id) + contents;
loadLanguage(id).then(function () {
var elements = examples[id].querySelectorAll('code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code');
diff --git a/examples/prism-abap.html b/examples/prism-abap.html
index 8781285..dfda1f7 100644
--- a/examples/prism-abap.html
+++ b/examples/prism-abap.html
@@ -1,6 +1,3 @@
-<h1>ABAP</h1>
-<p>To use this language, use the class "language-abap".</p>
-
<h2>Comments</h2>
<pre><code>
* Line Comments
diff --git a/examples/prism-actionscript.html b/examples/prism-actionscript.html
index 5c3f297..abb5804 100644
--- a/examples/prism-actionscript.html
+++ b/examples/prism-actionscript.html
@@ -1,6 +1,3 @@
-<h1>ActionScript</h1>
-<p>To use this language, use the class "language-actionscript".</p>
-
<h2>Comments</h2>
<pre><code>// Single line comment
/* Multi-line
diff --git a/examples/prism-ada.html b/examples/prism-ada.html
index 7836a5a..1783027 100644
--- a/examples/prism-ada.html
+++ b/examples/prism-ada.html
@@ -1,6 +1,3 @@
-<h1>Ada</h1>
-<p>To use this language, use the class "language-ada".</p>
-
<h2>Strings</h2>
<pre><code>"foo ""bar"" baz"
"Multi-line strings are appended with a " &
diff --git a/examples/prism-apacheconf.html b/examples/prism-apacheconf.html
index 29ac4ad..f6953e1 100644
--- a/examples/prism-apacheconf.html
+++ b/examples/prism-apacheconf.html
@@ -1,6 +1,3 @@
-<h1>Apache Configuration</h1>
-<p>To use this language, use the class "language-apacheconf".</p>
-
<h2>Comments</h2>
<pre><code># This is a comment
# <VirtualHost *:80>
diff --git a/examples/prism-apl.html b/examples/prism-apl.html
index 10844d7..61a7e46 100644
--- a/examples/prism-apl.html
+++ b/examples/prism-apl.html
@@ -1,6 +1,3 @@
-<h1>APL</h1>
-<p>To use this language, use the class "language-apl".</p>
-
<h2>Comments</h2>
<pre><code>#!/usr/bin/env runapl
a←1 2 3 ⍝ this is a comment</code></pre>
diff --git a/examples/prism-applescript.html b/examples/prism-applescript.html
index d652240..c88390e 100644
--- a/examples/prism-applescript.html
+++ b/examples/prism-applescript.html
@@ -1,6 +1,3 @@
-<h1>AppleScript</h1>
-<p>To use this language, use the class "language-applescript".</p>
-
<h2>Comments</h2>
<pre><code>-- Single line comment
#!/usr/bin/osascript
diff --git a/examples/prism-arduino.html b/examples/prism-arduino.html
index 26628f9..915f700 100644
--- a/examples/prism-arduino.html
+++ b/examples/prism-arduino.html
@@ -1,6 +1,3 @@
-<h1>Arduino</h1>
-<p>To use this language, use the class "language-arduino".</p>
-
<h2>Strings</h2>
<pre><code>"foo \"bar\" baz"
'foo \'bar\' baz'
diff --git a/examples/prism-arff.html b/examples/prism-arff.html
index 1cc2eb2..4181209 100644
--- a/examples/prism-arff.html
+++ b/examples/prism-arff.html
@@ -1,6 +1,3 @@
-<h1>ARFF</h1>
-<p>To use this language, use the class "language-arff".</p>
-
<h2>Comments</h2>
<pre><code>%
% Some comments
diff --git a/examples/prism-asciidoc.html b/examples/prism-asciidoc.html
index 770c7e4..d6df302 100644
--- a/examples/prism-asciidoc.html
+++ b/examples/prism-asciidoc.html
@@ -1,6 +1,3 @@
-<h1>AsciiDoc</h1>
-<p>To use this language, use the class "language-asciidoc".</p>
-
<h2>Comments</h2>
<pre><code>/////
Comment block
diff --git a/examples/prism-asm6502.html b/examples/prism-asm6502.html
index 23d3aaf..21f4b68 100644
--- a/examples/prism-asm6502.html
+++ b/examples/prism-asm6502.html
@@ -1,6 +1,3 @@
-<h1>6502 Assembly</h1>
-<p>To use this language, use the class "language-asm6502".</p>
-
<h2>Comments</h2>
<pre><code>; This is a comment</code></pre>
diff --git a/examples/prism-aspnet.html b/examples/prism-aspnet.html
index cdc1fc3..d9c30fc 100644
--- a/examples/prism-aspnet.html
+++ b/examples/prism-aspnet.html
@@ -1,6 +1,3 @@
-<h1>ASP.NET (C#)</h1>
-<p>To use this language, use the class "language-aspnet".</p>
-
<h2>Comments</h2>
<pre><code><%-- This is a comment --%>
<%-- This is a
diff --git a/examples/prism-autohotkey.html b/examples/prism-autohotkey.html
index e7afbbc..620edb2 100644
--- a/examples/prism-autohotkey.html
+++ b/examples/prism-autohotkey.html
@@ -1,6 +1,3 @@
-<h1>AutoHotkey</h1>
-<p>To use this language, use the class "language-autohotkey".</p>
-
<h2>Comments</h2>
<pre><code>; This is a comment</code></pre>
diff --git a/examples/prism-autoit.html b/examples/prism-autoit.html
index d119b1a..51220b4 100644
--- a/examples/prism-autoit.html
+++ b/examples/prism-autoit.html
@@ -1,6 +1,3 @@
-<h1>AutoIt</h1>
-<p>To use this language, use the class "language-autoit".</p>
-
<h2>Comments</h2>
<pre><code>; Single-line comment
#comments-start
diff --git a/examples/prism-bash.html b/examples/prism-bash.html
index 18c65b8..3e0febf 100644
--- a/examples/prism-bash.html
+++ b/examples/prism-bash.html
@@ -1,6 +1,3 @@
-<h1>Bash</h1>
-<p>To use this language, use the class "language-bash".</p>
-
<h2>Shebang</h2>
<pre><code>#!/bin/bash</code></pre>
diff --git a/examples/prism-basic.html b/examples/prism-basic.html
index f4495e3..3630a8a 100644
--- a/examples/prism-basic.html
+++ b/examples/prism-basic.html
@@ -1,6 +1,3 @@
-<h1>BASIC</h1>
-<p>To use this language, use the class "language-basic".</p>
-
<p>Note: this component focuses on first and second-generation BASICs (such as MSX BASIC, GW-BASIC, SuperBASIC, QuickBASIC, PowerBASIC...).</p>
<h2>Comments</h2>
diff --git a/examples/prism-batch.html b/examples/prism-batch.html
index d9bab37..13f9018 100644
--- a/examples/prism-batch.html
+++ b/examples/prism-batch.html
@@ -1,10 +1,3 @@
-<h1>Batch</h1>
-<p>To use this language, use one of the following classes:</p>
-<ul>
- <li>"language-batch"</li>
- <li>"language-shell"</li>
-</ul>
-
<h2>Comments</h2>
<pre><code>::
:: Foo bar
diff --git a/examples/prism-bison.html b/examples/prism-bison.html
index 5cb0082..9c7edeb 100644
--- a/examples/prism-bison.html
+++ b/examples/prism-bison.html
@@ -1,6 +1,3 @@
-<h1>Bison</h1>
-<p>To use this language, use the class "language-bison".</p>
-
<h2>Comments</h2>
<pre><code>// Single-line comment
/* Multi-line
diff --git a/examples/prism-brainfuck.html b/examples/prism-brainfuck.html
index e4cf9fe..89a435c 100644
--- a/examples/prism-brainfuck.html
+++ b/examples/prism-brainfuck.html
@@ -1,6 +1,3 @@
-<h1>Brainfuck</h1>
-<p>To use this language, use the class "language-brainfuck".</p>
-
<h2>Full example</h2>
<pre><code>+++++ +++ Set Cell #0 to 8
[
diff --git a/examples/prism-bro.html b/examples/prism-bro.html
index 426d8c2..83d6374 100644
--- a/examples/prism-bro.html
+++ b/examples/prism-bro.html
@@ -1,6 +1,3 @@
-<h1>Bro</h1>
-<p>To use this language, use the class "language-bro".</p>
-
<h2>Comments</h2>
<pre><code># Single line comment
</code></pre>
diff --git a/examples/prism-c.html b/examples/prism-c.html
index ae5e77d..aee1c06 100644
--- a/examples/prism-c.html
+++ b/examples/prism-c.html
@@ -1,6 +1,3 @@
-<h1>C</h1>
-<p>To use this language, use the class "language-c".</p>
-
<h2>Strings</h2>
<pre><code>"foo \"bar\" baz"
'foo \'bar\' baz'
diff --git a/examples/prism-clike.html b/examples/prism-clike.html
index 9e68f25..79a8076 100644
--- a/examples/prism-clike.html
+++ b/examples/prism-clike.html
@@ -1,7 +1,6 @@
-<h1>C-like</h1>
<p>The C-like component is not really a language on its own,
it is the basis of many other components. To use it directly, however,
- use the class "language-clike".</p>
+ use the class <code class="language-none">"language-clike"</code>.</p>
<h2>Comments</h2>
<pre><code>// Single line comment
diff --git a/examples/prism-clojure.html b/examples/prism-clojure.html
index 9d01ea3..abc5019 100644
--- a/examples/prism-clojure.html
+++ b/examples/prism-clojure.html
@@ -1,6 +1,3 @@
-<h1>Clojure</h1>
-<p>To use this language, use the class "language-clojure".</p>
-
<h2>Full example</h2>
<pre><code>
; This code is copied from https://learnxinyminutes.com/docs/clojure/
diff --git a/examples/prism-coffeescript.html b/examples/prism-coffeescript.html
index 8d7537b..a710aa9 100644
--- a/examples/prism-coffeescript.html
+++ b/examples/prism-coffeescript.html
@@ -1,6 +1,3 @@
-<h1>CoffeeScript</h1>
-<p>To use this language, use the class "language-coffeescript".</p>
-
<h2>Comments</h2>
<pre><code># This is a comment
### This is a
diff --git a/examples/prism-cpp.html b/examples/prism-cpp.html
index 054f4af..32bdcbd 100644
--- a/examples/prism-cpp.html
+++ b/examples/prism-cpp.html
@@ -1,6 +1,3 @@
-<h1>C++</h1>
-<p>To use this language, use the class "language-cpp".</p>
-
<h2>Strings</h2>
<pre><code>"foo \"bar\" baz"
'foo \'bar\' baz'
diff --git a/examples/prism-crystal.html b/examples/prism-crystal.html
index 3440e82..e824217 100644
--- a/examples/prism-crystal.html
+++ b/examples/prism-crystal.html
@@ -1,6 +1,3 @@
-<h1>Crystal</h1>
-<p>To use this language, use the class "language-crystal".</p>
-
<h2>Number literals with underscores and postfix</h2>
<pre><code>1_u32
123_456.789e-10_f64</code></pre>
diff --git a/examples/prism-csharp.html b/examples/prism-csharp.html
index 8805585..c6d76c2 100644
--- a/examples/prism-csharp.html
+++ b/examples/prism-csharp.html
@@ -1,10 +1,3 @@
-<h1>C#</h1>
-<p>To use this language, use one of the following classes:</p>
-<ul>
- <li>"language-csharp"</li>
- <li>"language-dotnet"</li>
-</ul>
-
<h2>Comments</h2>
<pre><code>// Single line comment
/* Multi-line
diff --git a/examples/prism-csp.html b/examples/prism-csp.html
index ff89659..e10a416 100644
--- a/examples/prism-csp.html
+++ b/examples/prism-csp.html
@@ -1,6 +1,3 @@
-<h1>HTTP Content-Security-Policy header value</h1>
-<p>To use this language, use the class "language-csp".</p>
-
<h2>A complete policy</h2>
<pre><code>default-src 'none';
script-src my.cdn.com;
diff --git a/examples/prism-css.html b/examples/prism-css.html
index 73cda7e..e211053 100644
--- a/examples/prism-css.html
+++ b/examples/prism-css.html
@@ -1,6 +1,3 @@
-<h1>CSS</h1>
-<p>To use this language, use the class "language-css".</p>
-
<h2>Empty rule</h2>
<pre><code>*{} * {} p {}</code></pre>
<pre><code>ul,
diff --git a/examples/prism-d.html b/examples/prism-d.html
index a3a0a3e..46db3f5 100644
--- a/examples/prism-d.html
+++ b/examples/prism-d.html
@@ -1,6 +1,3 @@
-<h1>D</h1>
-<p>To use this language, use the class "language-d".</p>
-
<h2>Comments</h2>
<pre><code>// Single line comment
/* Multi-line
diff --git a/examples/prism-dart.html b/examples/prism-dart.html
index e4de634..e38d85e 100644
--- a/examples/prism-dart.html
+++ b/examples/prism-dart.html
@@ -1,6 +1,3 @@
-<h1>Dart</h1>
-<p>To use this language, use the class "language-dart".</p>
-
<h2>Comments</h2>
<pre><code>// Single line comment
/// Documentation single line comment
diff --git a/examples/prism-diff.html b/examples/prism-diff.html
index 0bc7723..b9229a1 100644
--- a/examples/prism-diff.html
+++ b/examples/prism-diff.html
@@ -1,6 +1,3 @@
-<h1>Diff</h1>
-<p>To use this language, use the class "language-diff".</p>
-
<h2>Normal Diff</h2>
<pre><code>7c7
< qt: core
diff --git a/examples/prism-django.html b/examples/prism-django.html
index 1260fae..ac9cf0d 100644
--- a/examples/prism-django.html
+++ b/examples/prism-django.html
@@ -1,10 +1,3 @@
-<h1>Django/Jinja2</h1>
-<p>To use this language, use one of the following classes:</p>
-<ul>
- <li>"language-django"</li>
- <li>"language-jinja2"</li>
-</ul>
-
<h2>Comment</h2>
<pre><code>{# This is a comment #}</code></pre>
diff --git a/examples/prism-docker.html b/examples/prism-docker.html
index a37b2df..86511b3 100644
--- a/examples/prism-docker.html
+++ b/examples/prism-docker.html
@@ -1,6 +1,3 @@
-<h1>Docker</h1>
-<p>To use this language, use the class "language-docker".</p>
-
<h2>Comments</h2>
<pre><code># These are the comments for a dockerfile.
# I want to make sure $(variables) don't break out,
diff --git a/examples/prism-eiffel.html b/examples/prism-eiffel.html
index ac99283..94c18b2 100644
--- a/examples/prism-eiffel.html
+++ b/examples/prism-eiffel.html
@@ -1,6 +1,3 @@
-<h1>Eiffel</h1>
-<p>To use this language, use the class "language-eiffel".</p>
-
<h2>Comments</h2>
<pre><code>-- A comment
</code></pre>
diff --git a/examples/prism-elixir.html b/examples/prism-elixir.html
index 297c39b..56ea52b 100644
--- a/examples/prism-elixir.html
+++ b/examples/prism-elixir.html
@@ -1,6 +1,3 @@
-<h1>Elixir</h1>
-<p>To use this language, use the class "language-elixir".</p>
-
<h2>Comments</h2>
<pre><code># This is a comment</code></pre>
diff --git a/examples/prism-elm.html b/examples/prism-elm.html
index d5f14f0..00d0e33 100644
--- a/examples/prism-elm.html
+++ b/examples/prism-elm.html
@@ -1,6 +1,3 @@
-<h1>Elm</h1>
-<p>To user this language, use the class "language-elm".</p>
-
<h2>Comments</h2>
<pre><code>-- Single line comment
{- Multi-line
diff --git a/examples/prism-erlang.html b/examples/prism-erlang.html
index 637d7a1..05445ad 100644
--- a/examples/prism-erlang.html
+++ b/examples/prism-erlang.html
@@ -1,6 +1,3 @@
-<h1>Erlang</h1>
-<p>To use this language, use the class "language-erlang".</p>
-
<h2>Comments</h2>
<pre><code>% This is a comment
%% coding: utf-8</code></pre>
diff --git a/examples/prism-flow.html b/examples/prism-flow.html
index 2742d21..76f3e14 100644
--- a/examples/prism-flow.html
+++ b/examples/prism-flow.html
@@ -1,6 +1,3 @@
-<h1>Flow</h1>
-<p>To use this language, use the class "language-flow".</p>
-
<h2>Primitive types</h2>
<pre><code>function method(x: number, y: string, z: boolean) {}
function stringifyBasicValue(value: string | number) {}
diff --git a/examples/prism-fortran.html b/examples/prism-fortran.html
index 12e9c20..537c93d 100644
--- a/examples/prism-fortran.html
+++ b/examples/prism-fortran.html
@@ -1,6 +1,3 @@
-<h1>Fortran</h1>
-<p>To use this language, use the class "language-fortran".</p>
-
<h2>Comments</h2>
<pre><code>! This is a comment</code></pre>
diff --git a/examples/prism-fsharp.html b/examples/prism-fsharp.html
index 3e441a5..6a4330b 100644
--- a/examples/prism-fsharp.html
+++ b/examples/prism-fsharp.html
@@ -1,6 +1,3 @@
-<h1>F#</h1>
-<p>To use this language, use the class "language-fsharp".</p>
-
<h2>Comments</h2>
<pre><code>// Single line comment
(* Multi-line
diff --git a/examples/prism-gherkin.html b/examples/prism-gherkin.html
index 41bf19a..f38446e 100644
--- a/examples/prism-gherkin.html
+++ b/examples/prism-gherkin.html
@@ -1,6 +1,3 @@
-<h1>Gherkin</h1>
-<p>To use this language, use the class "language-gherkin".</p>
-
<h2>Strings</h2>
<pre><code>"foo \"bar\" baz"
'foo \'bar\' baz'
diff --git a/examples/prism-git.html b/examples/prism-git.html
index 7d37d4b..cd5668d 100644
--- a/examples/prism-git.html
+++ b/examples/prism-git.html
@@ -1,6 +1,3 @@
-<h1>Git</h1>
-<p>To use this language, use the class "language-git".</p>
-
<h2>Comments</h2>
<pre><code># On branch prism-examples
# Changes to be committed:
diff --git a/examples/prism-glsl.html b/examples/prism-glsl.html
index ab9d8d7..7492a42 100644
--- a/examples/prism-glsl.html
+++ b/examples/prism-glsl.html
@@ -1,6 +1,3 @@
-<h1>GLSL (OpenGL Shading Language)</h1>
-<p>To use this language, use the class "language-glsl".</p>
-
<h2>Vertex shader example</h2>
<pre><code>attribute vec3 vertex;
attribute vec3 normal;
diff --git a/examples/prism-go.html b/examples/prism-go.html
index 196dcf4..205a1a7 100644
--- a/examples/prism-go.html
+++ b/examples/prism-go.html
@@ -1,6 +1,3 @@
-<h1>Go</h1>
-<p>To use this language, use the class "language-go".</p>
-
<h2>Comments</h2>
<pre><code>// This is a comment
/* This is a comment
diff --git a/examples/prism-graphql.html b/examples/prism-graphql.html
index 8ad337c..12113a9 100644
--- a/examples/prism-graphql.html
+++ b/examples/prism-graphql.html
@@ -1,6 +1,3 @@
-<h1>GraphQL</h1>
-<p>To use this language, use the class "language-graphql".</p>
-
<h2>Comments</h2>
<pre><code># This is a comment</code></pre>
diff --git a/examples/prism-groovy.html b/examples/prism-groovy.html
index 0c588f6..3ec1d6d 100644
--- a/examples/prism-groovy.html
+++ b/examples/prism-groovy.html
@@ -1,6 +1,3 @@
-<h1>Groovy</h1>
-<p>To use this language, use the class "language-groovy".</p>
-
<h2>Comments</h2>
<pre><code>// Single line comment
/* Multi-line
diff --git a/examples/prism-haml.html b/examples/prism-haml.html
index c5561e5..c2cc670 100644
--- a/examples/prism-haml.html
+++ b/examples/prism-haml.html
@@ -1,6 +1,3 @@
-<h1>Haml</h1>
-<p>To use this language, use the class "language-haml".</p>
-
<h2>Comments</h2>
<pre><code>
/ This is comment
diff --git a/examples/prism-handlebars.html b/examples/prism-handlebars.html
index 49c5096..c39c8b7 100644
--- a/examples/prism-handlebars.html
+++ b/examples/prism-handlebars.html
@@ -1,6 +1,3 @@
-<h1>Handlebars</h1>
-<p>To use this language, use the class "language-handlebars".</p>
-
<h2>Comments</h2>
<pre><code>{{! This is a comment with <p>some markup</p> in it }}
{{! This is a comment }} {{ this_is_not }}</code></pre>
diff --git a/examples/prism-haskell.html b/examples/prism-haskell.html
index 1c50499..de58eb7 100644
--- a/examples/prism-haskell.html
+++ b/examples/prism-haskell.html
@@ -1,6 +1,3 @@
-<h1>Haskell</h1>
-<p>To use this language, use the class "language-haskell".</p>
-
<h2>Comments</h2>
<pre><code>-- Single line comment
{- Multi-line
diff --git a/examples/prism-haxe.html b/examples/prism-haxe.html
index 866042b..61fbf0e 100644
--- a/examples/prism-haxe.html
+++ b/examples/prism-haxe.html
@@ -1,6 +1,3 @@
-<h1>Haxe</h1>
-<p>To use this language, use the class "language-haxe".</p>
-
<h2>Strings and string interpolation</h2>
<pre><code>"Foo
bar $baz"
diff --git a/examples/prism-hpkp.html b/examples/prism-hpkp.html
index 20e83fa..ced16eb 100644
--- a/examples/prism-hpkp.html
+++ b/examples/prism-hpkp.html
@@ -1,6 +1,3 @@
-<h1>HTTP Public-Key-Pins header value</h1>
-<p>To use this language, use the class "language-hpkp".</p>
-
<h2>Pin for one year with report-uri</h2>
<pre><code>pin-sha256="EpOpN/ahUF6jhWShDUdy+NvvtaGcu5F7qM6+x2mfkh4=";
max-age=31536000;
diff --git a/examples/prism-hsts.html b/examples/prism-hsts.html
index d6d59e7..f7d0e45 100644
--- a/examples/prism-hsts.html
+++ b/examples/prism-hsts.html
@@ -1,6 +1,3 @@
-<h1>HTTP Strict-Transport-Security header value</h1>
-<p>To use this language, use the class "language-hsts".</p>
-
<h2>Policy with far-future max-age</h2>
<pre><code>max-age=31536000</code></pre>
diff --git a/examples/prism-http.html b/examples/prism-http.html
index 3841979..a209176 100644
--- a/examples/prism-http.html
+++ b/examples/prism-http.html
@@ -1,6 +1,3 @@
-<h1>HTTP</h1>
-<p>To use this language, use the class "language-http".</p>
-
<h2>Request header</h2>
<pre><code>GET http://localhost:9999/foo.html HTTP/1.1
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
diff --git a/examples/prism-ichigojam.html b/examples/prism-ichigojam.html
index 60ee332..24bcbf2 100644
--- a/examples/prism-ichigojam.html
+++ b/examples/prism-ichigojam.html
@@ -1,6 +1,3 @@
-<h1>IchigoJam</h1>
-<p>To use this language, use the class "language-ichigojam".</p>
-
<p>Note: this component focuses on IchigoJam, which uses a small subset of basic and introduces its own markers.</p>
<h2>Comments</h2>
diff --git a/examples/prism-icon.html b/examples/prism-icon.html
index 55b8360..1dce690 100644
--- a/examples/prism-icon.html
+++ b/examples/prism-icon.html
@@ -1,6 +1,3 @@
-<h1>Icon</h1>
-<p>To use this language, use the class "language-icon".</p>
-
<h2>Comments</h2>
<pre><code>#
# Foobar</code></pre>
diff --git a/examples/prism-inform7.html b/examples/prism-inform7.html
index 2dba462..9e2214f 100644
--- a/examples/prism-inform7.html
+++ b/examples/prism-inform7.html
@@ -1,6 +1,3 @@
-<h1>Inform 7</h1>
-<p>To use this language, use the class "language-inform7".</p>
-
<h2>Comments</h2>
<pre><code>[This is a comment]
[This is a
diff --git a/examples/prism-ini.html b/examples/prism-ini.html
index d404e42..284fbe4 100644
--- a/examples/prism-ini.html
+++ b/examples/prism-ini.html
@@ -1,6 +1,3 @@
-<h1>Ini</h1>
-<p>To use this language, use the class "language-ini".</p>
-
<h2>Comments</h2>
<pre><code>; This is a comment</code></pre>
diff --git a/examples/prism-io.html b/examples/prism-io.html
index 7397639..ff5160a 100644
--- a/examples/prism-io.html
+++ b/examples/prism-io.html
@@ -1,6 +1,3 @@
-<h1>Io</h1>
-<p>To use this language, use the class "language-io".</p>
-
<h2>Comments</h2>
<pre><code>//
// Foobar
diff --git a/examples/prism-j.html b/examples/prism-j.html
index 33f3c6c..cf4c109 100644
--- a/examples/prism-j.html
+++ b/examples/prism-j.html
@@ -1,6 +1,3 @@
-<h1>J</h1>
-<p>To use this language, use the class "language-j".</p>
-
<h2>Comments</h2>
<pre><code>NB. This is a comment</code></pre>
diff --git a/examples/prism-java.html b/examples/prism-java.html
index 5643de2..691a6b1 100644
--- a/examples/prism-java.html
+++ b/examples/prism-java.html
@@ -1,6 +1,3 @@
-<h1>Java</h1>
-<p>To use this language, use the class "language-java".</p>
-
<h2>Comments</h2>
<pre><code>// Single line comment
/* Multi-line
diff --git a/examples/prism-javascript.html b/examples/prism-javascript.html
index c6ec2a6..ef86a90 100644
--- a/examples/prism-javascript.html
+++ b/examples/prism-javascript.html
@@ -1,10 +1,3 @@
-<h1>JavaScript</h1>
-<p>To use this language, use one of the following classes:</p>
-<ul>
- <li>"language-javascript"</li>
- <li>"language-js"</li>
-</ul>
-
<h2>Variable assignment</h2>
<pre><code>var foo = "bar", baz = 5;</code></pre>
diff --git a/examples/prism-jolie.html b/examples/prism-jolie.html
index a26c538..8d23d99 100644
--- a/examples/prism-jolie.html
+++ b/examples/prism-jolie.html
@@ -1,6 +1,3 @@
-<h1>Jolie</h1>
-<p>To use this language, use the class "language-jolie".</p>
-
<h2>Comments</h2>
<pre><code>// Single line comment
/* Multi-line
diff --git a/examples/prism-jsx.html b/examples/prism-jsx.html
index 76e18b7..faff492 100644
--- a/examples/prism-jsx.html
+++ b/examples/prism-jsx.html
@@ -1,6 +1,3 @@
-<h1>React JSX</h1>
-<p>To use this language, use the class "language-jsx".</p>
-
<h2>Full example</h2>
<pre><code>var ExampleApplication = React.createClass({
render: function() {
diff --git a/examples/prism-julia.html b/examples/prism-julia.html
index 38c95f1..b69d045 100644
--- a/examples/prism-julia.html
+++ b/examples/prism-julia.html
@@ -1,6 +1,3 @@
-<h1>Julia</h1>
-<p>To use this language, use the class "language-julia".</p>
-
<h2>Full example</h2>
<pre><code>function mandel(z)
c = z
diff --git a/examples/prism-keyman.html b/examples/prism-keyman.html
index 05898fd..770827d 100644
--- a/examples/prism-keyman.html
+++ b/examples/prism-keyman.html
@@ -1,6 +1,3 @@
-<h1>Keyman</h1>
-<p>To use this language, use the class "language-keyman".</p>
-
<h2>Comments</h2>
<pre><code>c This is a comment</code></pre>
diff --git a/examples/prism-kotlin.html b/examples/prism-kotlin.html
index d40841d..7c8f7b4 100644
--- a/examples/prism-kotlin.html
+++ b/examples/prism-kotlin.html
@@ -1,6 +1,3 @@
-<h1>Kotlin</h1>
-<p>To use this language, use the class "language-kotlin".</p>
-
<h2>Numbers</h2>
<pre><code>123
123L
diff --git a/examples/prism-latex.html b/examples/prism-latex.html
index 4d8769f..137df36 100644
--- a/examples/prism-latex.html
+++ b/examples/prism-latex.html
@@ -1,6 +1,3 @@
-<h1>LaTeX</h1>
-<p>To use this language, use the class "language-latex".</p>
-
<h2>Comments</h2>
<pre><code>% This is a comment</code></pre>
diff --git a/examples/prism-less.html b/examples/prism-less.html
index c84bc68..db8a5e6 100644
--- a/examples/prism-less.html
+++ b/examples/prism-less.html
@@ -1,6 +1,3 @@
-<h1>Less</h1>
-<p>To use this language, use the class "language-less".</p>
-
<h2>Comments</h2>
<pre><code>// Single line comment
/* Multi-line
diff --git a/examples/prism-liquid.html b/examples/prism-liquid.html
index 46951c3..7497197 100644
--- a/examples/prism-liquid.html
+++ b/examples/prism-liquid.html
@@ -1,6 +1,3 @@
-<h1>Liquid</h1>
-<p>To use this language, use the class "language-liquid".</p>
-
<h2>Comments</h2>
<pre><code>{% comment %}This is a comment{% endcomment %}</code></pre>
diff --git a/examples/prism-livescript.html b/examples/prism-livescript.html
index 7bc4ff8..e9194d3 100644
--- a/examples/prism-livescript.html
+++ b/examples/prism-livescript.html
@@ -1,6 +1,3 @@
-<h1>LiveScript</h1>
-<p>To use this language, use the class "language-livescript".</p>
-
<h2>Comments</h2>
<pre><code># This is a single line comment
/* This is a
diff --git a/examples/prism-lolcode.html b/examples/prism-lolcode.html
index e985546..3830832 100644
--- a/examples/prism-lolcode.html
+++ b/examples/prism-lolcode.html
@@ -1,6 +1,3 @@
-<h1>LOLCODE</h1>
-<p>To use this language, use the class "language-lolcode".</p>
-
<h2>Comments</h2>
<pre><code>BTW Single line comment
OBTW Multi-line
diff --git a/examples/prism-lua.html b/examples/prism-lua.html
index 5791f2d..288b767 100644
--- a/examples/prism-lua.html
+++ b/examples/prism-lua.html
@@ -1,6 +1,3 @@
-<h1>Lua</h1>
-<p>To use this language, use the class "language-lua".</p>
-
<h2>Comments</h2>
<pre><code>#!/usr/local/bin/lua
--
diff --git a/examples/prism-makefile.html b/examples/prism-makefile.html
index 738c9a9..45f6f42 100644
--- a/examples/prism-makefile.html
+++ b/examples/prism-makefile.html
@@ -1,6 +1,3 @@
-<h1>Makefile</h1>
-<p>To use this language, use the class "language-makefile".</p>
-
<h2>Comments</h2>
<pre><code># This is a comment
include foo # This is another comment</code></pre>
diff --git a/examples/prism-markdown.html b/examples/prism-markdown.html
index 6eea73d..bed477e 100644
--- a/examples/prism-markdown.html
+++ b/examples/prism-markdown.html
@@ -1,6 +1,3 @@
-<h1>Markdown</h1>
-<p>To use this language, use the class "language-markdown".</p>
-
<h2>Titles</h2>
<pre><code>Title 1
==
diff --git a/examples/prism-markup.html b/examples/prism-markup.html
index c1f9d33..ac00e7f 100644
--- a/examples/prism-markup.html
+++ b/examples/prism-markup.html
@@ -1,13 +1,3 @@
-<h1>Markup</h1>
-<p>To use this language, use one of the following classes:</p>
-<ul>
- <li>"language-markup"</li>
- <li>"language-xml"</li>
- <li>"language-html"</li>
- <li>"language-mathml"</li>
- <li>"language-svg"</li>
-</ul>
-
<h2>Empty tag</h2>
<pre><code><p></p></code></pre>
diff --git a/examples/prism-matlab.html b/examples/prism-matlab.html
index 00e985d..a3917f5 100644
--- a/examples/prism-matlab.html
+++ b/examples/prism-matlab.html
@@ -1,6 +1,3 @@
-<h1>MATLAB</h1>
-<p>To use this language, use the class "language-matlab".</p>
-
<h2>Strings</h2>
<pre><code>myString = 'Hello, world';
otherString = 'You''re right';</code></pre>
diff --git a/examples/prism-mel.html b/examples/prism-mel.html
index 876f1ee..e887975 100644
--- a/examples/prism-mel.html
+++ b/examples/prism-mel.html
@@ -1,6 +1,3 @@
-<h1>MEL (Maya Embedded Language)</h1>
-<p>To use this language, use the class "language-mel".</p>
-
<h2>Comments</h2>
<pre><code>// This is a comment</code></pre>
diff --git a/examples/prism-mizar.html b/examples/prism-mizar.html
index 7a590d6..98d626c 100644
--- a/examples/prism-mizar.html
+++ b/examples/prism-mizar.html
@@ -1,6 +1,3 @@
-<h1>Mizar</h1>
-<p>To use this language, use the class "language-mizar".</p>
-
<h2>Full example</h2>
<pre><code>:: Example from http://webdocs.cs.ualberta.ca/~piotr/Mizar/Dagstuhl97/
diff --git a/examples/prism-monkey.html b/examples/prism-monkey.html
index 7a579f8..8112896 100644
--- a/examples/prism-monkey.html
+++ b/examples/prism-monkey.html
@@ -1,6 +1,3 @@
-<h1>Monkey</h1>
-<p>To use this language, use the class "language-monkey".</p>
-
<h2>Comments</h2>
<pre><code>' This is a comment
diff --git a/examples/prism-n4js.html b/examples/prism-n4js.html
index e6db81a..19e5a6d 100755
--- a/examples/prism-n4js.html
+++ b/examples/prism-n4js.html
@@ -1,7 +1,3 @@
-<h1>N4JS</h1>
-<p>To use this language, use the class "language-n4js".</p>
-
-
<h2>Keywords</h2>
<pre><code>
class C {..}
diff --git a/examples/prism-nasm.html b/examples/prism-nasm.html
index 5d20ceb..c1b7c92 100644
--- a/examples/prism-nasm.html
+++ b/examples/prism-nasm.html
@@ -1,6 +1,3 @@
-<h1>NASM</h1>
-<p>To use this language, use the class "language-nasm".</p>
-
<h2>Comments</h2>
<pre><code>; This is a comment</code></pre>
diff --git a/examples/prism-nginx.html b/examples/prism-nginx.html
index 6ea8b05..49d1466 100644
--- a/examples/prism-nginx.html
+++ b/examples/prism-nginx.html
@@ -1,6 +1,3 @@
-<h1>Nginx</h1>
-<p>To use this language, use the class "language-nginx".</p>
-
<h2>Comments</h2>
<pre><code># This is a comment</code></pre>
diff --git a/examples/prism-nim.html b/examples/prism-nim.html
index 6aca4d6..c661125 100644
--- a/examples/prism-nim.html
+++ b/examples/prism-nim.html
@@ -1,6 +1,3 @@
-<h1>Nim</h1>
-<p>To use this language, use the class "language-nim".</p>
-
<h2>Comments</h2>
<pre><code># This is a comment</code></pre>
diff --git a/examples/prism-nix.html b/examples/prism-nix.html
index 731b909..9015776 100644
--- a/examples/prism-nix.html
+++ b/examples/prism-nix.html
@@ -1,6 +1,3 @@
-<h1>Nix</h1>
-<p>To use this language, use the class "language-nix".</p>
-
<h2>Comments</h2>
<pre><code>#
# Single line comment
diff --git a/examples/prism-nsis.html b/examples/prism-nsis.html
index 059db45..193791b 100644
--- a/examples/prism-nsis.html
+++ b/examples/prism-nsis.html
@@ -1,6 +1,3 @@
-<h1>NSIS</h1>
-<p>To use this language, use the class "language-nsis".</p>
-
<h2>Comments</h2>
<pre><code>; Single line comment
# Single line comment
diff --git a/examples/prism-objectivec.html b/examples/prism-objectivec.html
index 8cd0164..025a8d7 100644
--- a/examples/prism-objectivec.html
+++ b/examples/prism-objectivec.html
@@ -1,6 +1,3 @@
-<h1>Objective C</h1>
-<p>To use this language, use the class "language-objectivec".</p>
-
<h2>Full example</h2>
<pre><code>#import <UIKit/UIKit.h>
#import "Dependency.h"
diff --git a/examples/prism-ocaml.html b/examples/prism-ocaml.html
index fdb2916..0534b1d 100644
--- a/examples/prism-ocaml.html
+++ b/examples/prism-ocaml.html
@@ -1,6 +1,3 @@
-<h1>OCaml</h1>
-<p>To use this language, use the class "language-ocaml".</p>
-
<h2>Comments</h2>
<pre><code>(* Simple comment *)
(* Multi-line
diff --git a/examples/prism-opencl.html b/examples/prism-opencl.html
index 7681f95..f901230 100644
--- a/examples/prism-opencl.html
+++ b/examples/prism-opencl.html
@@ -1,5 +1,8 @@
-<h1>OpenCL</h1>
-<p>To use this language, use the class "language-opencl" for OpenCL kernel code. Host code is automatically highlighted in "language-c" respectively "language-cpp" classes.</p>
+<p>
+ To use this language, use the class <code class="language-none">"language-opencl"</code> for OpenCL kernel code.
+ Host code is automatically highlighted in <code class="language-none">"language-c"</code>
+ respectively <code class="language-none">"language-cpp"</code> classes.
+</p>
<h2>OpenCL host code</h2>
<pre class="language-cpp"><code>// OpenCL functions, constants, etc. are also highlighted in OpenCL host code in the c or cpp language
diff --git a/examples/prism-oz.html b/examples/prism-oz.html
index 73e170a..d70ec2e 100644
--- a/examples/prism-oz.html
+++ b/examples/prism-oz.html
@@ -1,6 +1,3 @@
-<h1>Oz</h1>
-<p>To use this language, use the class "language-oz".</p>
-
<h2>Comments</h2>
<pre><code>%
% Foobar
diff --git a/examples/prism-parigp.html b/examples/prism-parigp.html
index 9ec10f2..029302b 100644
--- a/examples/prism-parigp.html
+++ b/examples/prism-parigp.html
@@ -1,6 +1,3 @@
-<h1>PARI/GP</h1>
-<p>To use this language, use the class "language-parigp".</p>
-
<h2>Comments</h2>
<pre><code>\\ Single line comment
/* Multi line
diff --git a/examples/prism-parser.html b/examples/prism-parser.html
index 733a510..4b4e9c0 100644
--- a/examples/prism-parser.html
+++ b/examples/prism-parser.html
@@ -1,6 +1,3 @@
-<h1>Parser</h1>
-<p>To use this language, use the class "language-parser".</p>
-
<h2>Comments</h2>
<pre><code>$foo[bar] # Some comment</code></pre>
diff --git a/examples/prism-pascal.html b/examples/prism-pascal.html
index 7fd7997..dfea11a 100644
--- a/examples/prism-pascal.html
+++ b/examples/prism-pascal.html
@@ -1,6 +1,3 @@
-<h1>Pascal</h1>
-<p>To use this language, use the class "language-pascal".</p>
-
<h2>Comments</h2>
<pre><code>(* This is an
old style comment *)
diff --git a/examples/prism-perl.html b/examples/prism-perl.html
index 2a7b4ab..85c3681 100644
--- a/examples/prism-perl.html
+++ b/examples/prism-perl.html
@@ -1,6 +1,3 @@
-<h1>Perl</h1>
-<p>To use this language, use the class "language-perl".</p>
-
<h2>Comments</h2>
<pre><code># Single line comment
=head1 Here There
diff --git a/examples/prism-php.html b/examples/prism-php.html
index c80ec9f..1a25589 100644
--- a/examples/prism-php.html
+++ b/examples/prism-php.html
@@ -1,6 +1,3 @@
-<h1>PHP</h1>
-<p>To use this language, use the class "language-php".</p>
-
<h2>Comments</h2>
<pre><code>// Single line comment
/* Multi-line
diff --git a/examples/prism-powershell.html b/examples/prism-powershell.html
index ffbbd2d..e5dba2e 100644
--- a/examples/prism-powershell.html
+++ b/examples/prism-powershell.html
@@ -1,6 +1,3 @@
-<h1>PowerShell</h1>
-<p>To use this language, use the class "language-powershell".</p>
-
<h2>Comments</h2>
<pre><code># This is a comment
<# This is a
diff --git a/examples/prism-processing.html b/examples/prism-processing.html
index 110b72d..3c74ba3 100644
--- a/examples/prism-processing.html
+++ b/examples/prism-processing.html
@@ -1,6 +1,3 @@
-<h1>Processing</h1>
-<p>To use this language, use the class "language-processing".</p>
-
<h2>Full example</h2>
<pre><code>// Processing implementation of Game of Life by Joan Soler-Adillon
// from https://processing.org/examples/gameoflife.html
diff --git a/examples/prism-prolog.html b/examples/prism-prolog.html
index e43898a..b231bca 100644
--- a/examples/prism-prolog.html
+++ b/examples/prism-prolog.html
@@ -1,6 +1,3 @@
-<h1>Prolog</h1>
-<p>To use this language, use the class "language-prolog".</p>
-
<h2>Comments</h2>
<pre><code>% This is a comment
/* This is a
diff --git a/examples/prism-properties.html b/examples/prism-properties.html
index 8a61805..bbc81f9 100644
--- a/examples/prism-properties.html
+++ b/examples/prism-properties.html
@@ -1,6 +1,3 @@
-<h1>.properties</h1>
-<p>To use this language, use the class "language-properties".</p>
-
<h2>Comments</h2>
<pre><code># This is a comment
! This is a comment too</code></pre>
diff --git a/examples/prism-pug.html b/examples/prism-pug.html
index e977c32..d37de5c 100644
--- a/examples/prism-pug.html
+++ b/examples/prism-pug.html
@@ -1,6 +1,3 @@
-<h1>Pug</h1>
-<p>To use this language, use the class "language-pug".</p>
-
<h2>Comments</h2>
<pre><code>// Some
multiline
diff --git a/examples/prism-puppet.html b/examples/prism-puppet.html
index fe3ce37..963f95d 100644
--- a/examples/prism-puppet.html
+++ b/examples/prism-puppet.html
@@ -1,6 +1,3 @@
-<h1>Puppet</h1>
-<p>To use this language, use the class "language-puppet".</p>
-
<h2>Comments</h2>
<pre><code>#
# Foobar
diff --git a/examples/prism-pure.html b/examples/prism-pure.html
index 81354ea..d7a0129 100644
--- a/examples/prism-pure.html
+++ b/examples/prism-pure.html
@@ -1,6 +1,3 @@
-<h1>Pure</h1>
-<p>To use this language, use the class "language-pure".</p>
-
<h2>Comments</h2>
<pre><code>#! shebang
// Single line comment
diff --git a/examples/prism-python.html b/examples/prism-python.html
index 7560dfc..a8c383b 100644
--- a/examples/prism-python.html
+++ b/examples/prism-python.html
@@ -1,6 +1,3 @@
-<h1>Python</h1>
-<p>To use this language, use the class "language-python".</p>
-
<h2>Comments</h2>
<pre><code># This is a comment
# -*- coding: <encoding-name> -*-</code></pre>
diff --git a/examples/prism-q.html b/examples/prism-q.html
index a22d557..7a0e7b3 100644
--- a/examples/prism-q.html
+++ b/examples/prism-q.html
@@ -1,6 +1,3 @@
-<h1>Q (kdb+ database)</h1>
-<p>To use this language, use the class "language-q".</p>
-
<h2>Comments</h2>
<pre><code>foo / This is a comment
/ This is a comment too
diff --git a/examples/prism-qore.html b/examples/prism-qore.html
index 99b1b4c..710e161 100644
--- a/examples/prism-qore.html
+++ b/examples/prism-qore.html
@@ -1,6 +1,3 @@
-<h1>Qore</h1>
-<p>To use this language, use the class "language-qore".</p>
-
<h2>Full example</h2>
<pre><code>#!/usr/bin/env qore
diff --git a/examples/prism-r.html b/examples/prism-r.html
index 8e33ac7..3c69418 100644
--- a/examples/prism-r.html
+++ b/examples/prism-r.html
@@ -1,6 +1,3 @@
-<h1>R</h1>
-<p>To use this language, use the class "language-r".</p>
-
<h2>Comments</h2>
<pre><code># This is a comment</code></pre>
diff --git a/examples/prism-reason.html b/examples/prism-reason.html
index be0ee2d..8842f24 100644
--- a/examples/prism-reason.html
+++ b/examples/prism-reason.html
@@ -1,6 +1,3 @@
-<h1>Reason</h1>
-<p>To use this language, use the class "language-reason".</p>
-
<h2>Comments</h2>
<pre><code>/* This is a comment */</code></pre>
diff --git a/examples/prism-renpy.html b/examples/prism-renpy.html
index cb0fbc8..dffac07 100644
--- a/examples/prism-renpy.html
+++ b/examples/prism-renpy.html
@@ -1,6 +1,3 @@
-<h1>Ren'py</h1>
-<p>To use this language, use the class "language-renpy".</p>
-
<h2>Comments</h2>
<pre>
<code># This is a comment</code>
diff --git a/examples/prism-rest.html b/examples/prism-rest.html
index 5b41b5c..511e87c 100644
--- a/examples/prism-rest.html
+++ b/examples/prism-rest.html
@@ -1,6 +1,3 @@
-<h1>reST (reStructuredText)</h1>
-<p>To use this language, use the class "language-rest".</p>
-
<h2>Titles</h2>
<pre><code>===============
Section Title
diff --git a/examples/prism-rip.html b/examples/prism-rip.html
index 5d19279..99769c3 100644
--- a/examples/prism-rip.html
+++ b/examples/prism-rip.html
@@ -1,6 +1,3 @@
-<h1>Rip</h1>
-<p>To use this language, use the class "language-rip".</p>
-
<h2>Comments</h2>
<pre><code># This is a comment</code></pre>
diff --git a/examples/prism-roboconf.html b/examples/prism-roboconf.html
index 6b5dbe7..ca57221 100644
--- a/examples/prism-roboconf.html
+++ b/examples/prism-roboconf.html
@@ -1,6 +1,3 @@
-<h1>Roboconf</h1>
-<p>To use this language, use the class "language-roboconf".</p>
-
<h2>Full example</h2>
<pre><code>ApacheServer {
# Apache instances will be deployed by Roboconf's Puppet extension
diff --git a/examples/prism-ruby.html b/examples/prism-ruby.html
index 095faf1..c1aeaff 100644
--- a/examples/prism-ruby.html
+++ b/examples/prism-ruby.html
@@ -1,6 +1,3 @@
-<h1>Ruby</h1>
-<p>To use this language, use the class "language-ruby".</p>
-
<h2>Comments</h2>
<pre><code># This is a comment
=begin
diff --git a/examples/prism-rust.html b/examples/prism-rust.html
index 10943b9..d447968 100644
--- a/examples/prism-rust.html
+++ b/examples/prism-rust.html
@@ -1,6 +1,3 @@
-<h1>Rust</h1>
-<p>To use this language, use the class "language-rust".</p>
-
<h2>Comments</h2>
<pre><code>// Single line comment
/// Doc comments
diff --git a/examples/prism-sas.html b/examples/prism-sas.html
index 9d9acef..8932ebb 100644
--- a/examples/prism-sas.html
+++ b/examples/prism-sas.html
@@ -1,6 +1,3 @@
-<h1>SAS</h1>
-<p>To use this language, use the class "language-sas".</p>
-
<h2>Comments</h2>
<pre><code>/* This is a
multi-line comment */
diff --git a/examples/prism-sass.html b/examples/prism-sass.html
index 68a7763..7200e78 100644
--- a/examples/prism-sass.html
+++ b/examples/prism-sass.html
@@ -1,6 +1,3 @@
-<h1>Sass (Sass)</h1>
-<p>To use this language, use the class "language-sass".</p>
-
<h2>Comments</h2>
<pre><code>/* This comment will appear in the CSS output.
This is nested beneath the comment,
diff --git a/examples/prism-scala.html b/examples/prism-scala.html
index 87a40b1..1dc56f8 100644
--- a/examples/prism-scala.html
+++ b/examples/prism-scala.html
@@ -1,6 +1,3 @@
-<h1>Scala</h1>
-<p>To use this language, use the class "language-scala".</p>
-
<h2>Comments</h2>
<pre><code>// Single line comment
/* Mutli-line
diff --git a/examples/prism-scheme.html b/examples/prism-scheme.html
index 7bf8f37..de50f22 100644
--- a/examples/prism-scheme.html
+++ b/examples/prism-scheme.html
@@ -1,6 +1,3 @@
-<h1>Scheme</h1>
-<p>To use this language, use the class "language-scheme".</p>
-
<h2>Comments</h2>
<pre><code>; This is a comment</code></pre>
diff --git a/examples/prism-scss.html b/examples/prism-scss.html
index 7748272..f0daaf5 100644
--- a/examples/prism-scss.html
+++ b/examples/prism-scss.html
@@ -1,6 +1,3 @@
-<h1>Sass (Scss)</h1>
-<p>To use this language, use the class "language-scss".</p>
-
<h2>Comments</h2>
<pre><code>// Single line comment
/* Multi-line
diff --git a/examples/prism-smalltalk.html b/examples/prism-smalltalk.html
index 63e4edb..7fb70f8 100644
--- a/examples/prism-smalltalk.html
+++ b/examples/prism-smalltalk.html
@@ -1,6 +1,3 @@
-<h1>Smalltalk</h1>
-<p>To use this language, use the class "language-smalltalk".</p>
-
<h2>Numbers</h2>
<pre><code>3
30.45
diff --git a/examples/prism-smarty.html b/examples/prism-smarty.html
index 47f62d6..5e57922 100644
--- a/examples/prism-smarty.html
+++ b/examples/prism-smarty.html
@@ -1,6 +1,3 @@
-<h1>Smarty</h1>
-<p>To use this language, use the class "language-smarty".</p>
-
<h2>Comments</h2>
<pre><code>{* This is a comment with <p>some markup</p> in it *}
{* Multi-line
diff --git a/examples/prism-sql.html b/examples/prism-sql.html
index 5de3387..6fe9977 100644
--- a/examples/prism-sql.html
+++ b/examples/prism-sql.html
@@ -1,6 +1,3 @@
-<h1>SQL</h1>
-<p>To use this language, use the class "language-sql".</p>
-
<h2>Comments</h2>
<pre><code># Single line comment
-- Single line comment
diff --git a/examples/prism-stylus.html b/examples/prism-stylus.html
index a0cdf5d..2b8ffdc 100644
--- a/examples/prism-stylus.html
+++ b/examples/prism-stylus.html
@@ -1,6 +1,3 @@
-<h1>Stylus</h1>
-<p>To use this language, use the class "language-stylus".</p>
-
<h2>Full Example</h2>
<pre><code>/*!
* Adds the given numbers together.
diff --git a/examples/prism-swift.html b/examples/prism-swift.html
index 21c6a16..98d6eb5 100644
--- a/examples/prism-swift.html
+++ b/examples/prism-swift.html
@@ -1,6 +1,3 @@
-<h1>Swift</h1>
-<p>To use this language, use the class "language-swift".</p>
-
<h2>Comments</h2>
<pre><code>// this is a comment
/* this is also a comment,
diff --git a/examples/prism-tcl.html b/examples/prism-tcl.html
index 4a4c8ed..080d817 100644
--- a/examples/prism-tcl.html
+++ b/examples/prism-tcl.html
@@ -1,6 +1,3 @@
-<h1>Tcl</h1>
-<p>To use this language, use the class "language-tcl".</p>
-
<h2>Comments</h2>
<pre><code># This is a comment</code></pre>
diff --git a/examples/prism-textile.html b/examples/prism-textile.html
index 6720885..4ff4d12 100644
--- a/examples/prism-textile.html
+++ b/examples/prism-textile.html
@@ -1,6 +1,3 @@
-<h1>Textile</h1>
-<p>To use this language, use the class "language-textile".</p>
-
<h2>HTML</h2>
<pre><code>I am <b>very</b> serious.
diff --git a/examples/prism-tsx.html b/examples/prism-tsx.html
index 636aa3f..d83d1dd 100644
--- a/examples/prism-tsx.html
+++ b/examples/prism-tsx.html
@@ -1,6 +1,3 @@
-<h1>React TSX</h1>
-<p>To use this language, use the class "language-tsx".</p>
-
<h2>Full example</h2>
<pre><code>import * as React from 'react';
diff --git a/examples/prism-twig.html b/examples/prism-twig.html
index 22528c7..0a70781 100644
--- a/examples/prism-twig.html
+++ b/examples/prism-twig.html
@@ -1,6 +1,3 @@
-<h1>Twig</h1>
-<p>To use this language, use the class "language-twig".</p>
-
<h2>Comments</h2>
<pre><code>{# Some comment
on multiple lines
diff --git a/examples/prism-typescript.html b/examples/prism-typescript.html
index e4790b0..561c4dc 100755
--- a/examples/prism-typescript.html
+++ b/examples/prism-typescript.html
@@ -1,10 +1,3 @@
-<h1>TypeScript</h1>
-<p>To use this language, use one of the following classes:</p>
-<ul>
- <li>"language-typescript"</li>
- <li>"language-ts"</li>
-</ul>
-
<h2>Full example</h2>
<pre><code>interface SearchFunc {
(source: string, subString: string): boolean;
diff --git a/examples/prism-vbnet.html b/examples/prism-vbnet.html
index 95a515c..bc2a376 100644
--- a/examples/prism-vbnet.html
+++ b/examples/prism-vbnet.html
@@ -1,6 +1,3 @@
-<h1>VB.Net</h1>
-<p>To use this language, use the class "language-vbnet".</p>
-
<h2>Comments</h2>
<pre><code>!foobar
REM foobar
diff --git a/examples/prism-verilog.html b/examples/prism-verilog.html
index 878dd76..d7c9a0b 100644
--- a/examples/prism-verilog.html
+++ b/examples/prism-verilog.html
@@ -1,5 +1,3 @@
-<h1>Verilog & System Verilog</h1>
-<p>To use this language, use the class "language-verilog".</p>
<p>Note that this package supports syntax highlighting for both Verilog and System Verilog.</p>
<h2>Comments</h2>
diff --git a/examples/prism-vhdl.html b/examples/prism-vhdl.html
index 1dbf649..b495085 100644
--- a/examples/prism-vhdl.html
+++ b/examples/prism-vhdl.html
@@ -1,6 +1,3 @@
-<h1>VHDL</h1>
-<p>To use this language, use the class "language-vhdl".</p>
-
<h2>Comments</h2>
<pre><code>-- I am a comment
I am not</code></pre>
diff --git a/examples/prism-vim.html b/examples/prism-vim.html
index c51c7f8..567b820 100644
--- a/examples/prism-vim.html
+++ b/examples/prism-vim.html
@@ -1,6 +1,3 @@
-<h1>vim</h1>
-<p>To use this language, use the class "language-vim".</p>
-
<h2>Comments</h2>
<pre><code>" This is a comment</code></pre>
diff --git a/examples/prism-wiki.html b/examples/prism-wiki.html
index 6cded5e..295eb3f 100644
--- a/examples/prism-wiki.html
+++ b/examples/prism-wiki.html
@@ -1,6 +1,3 @@
-<h1>Wiki markup</h1>
-<p>To use this language, use the class "language-wiki".</p>
-
<h2>Embedded markup</h2>
<pre><code>Paragraphs can be forced in lists by using HTML tags.
Two line break symbols, <code><nowiki><br /><br /></nowiki></code>, will create the desired effect. So will enclosing all but the first paragraph with <code><nowiki><p>...</p></nowiki></code></code></pre>
diff --git a/examples/prism-xeora.html b/examples/prism-xeora.html
index 12835cb..541a916 100644
--- a/examples/prism-xeora.html
+++ b/examples/prism-xeora.html
@@ -1,6 +1,3 @@
-<h1>Xeora</h1>
-<p>To use this language, use the class "language-xeora".</p>
-
<h2>Special Constants</h2>
<pre><code>$DomainContents$
$PageRenderDuration$</code></pre>
diff --git a/examples/prism-xojo.html b/examples/prism-xojo.html
index 2f5b8b8..3548074 100644
--- a/examples/prism-xojo.html
+++ b/examples/prism-xojo.html
@@ -1,6 +1,3 @@
-<h1>Xojo (REALbasic)</h1>
-<p>To use this language, use the class "language-xojo".</p>
-
<h2>Comments</h2>
<pre><code>' This is a comment
// This is a comment too
diff --git a/examples/prism-yaml.html b/examples/prism-yaml.html
index 14cc5bd..bea52f8 100644
--- a/examples/prism-yaml.html
+++ b/examples/prism-yaml.html
@@ -1,6 +1,3 @@
-<h1>YAML</h1>
-<p>To use this language, use the class "language-yaml".</p>
-
<h2>Null and Boolean</h2>
<pre><code>---
A null: null
diff --git a/plugins/show-language/prism-show-language.js b/plugins/show-language/prism-show-language.js
index 19e8e0f..e696274 100644
--- a/plugins/show-language/prism-show-language.js
+++ b/plugins/show-language/prism-show-language.js
@@ -11,7 +11,7 @@ if (!Prism.plugins.toolbar) {
}
// The languages map is built automatically with gulp
-var Languages = /*languages_placeholder[*/{"html":"HTML","xml":"XML","svg":"SVG","mathml":"MathML","css":"CSS","clike":"C-like","javascript":"JavaScript","abap":"ABAP","actionscript":"ActionScript","apacheconf":"Apache Configuration","apl":"APL","applescript":"AppleScript","arff":"ARFF","asciidoc":"AsciiDoc","asm6502":"6502 Assembly","aspnet":"ASP.NET (C#)","autohotkey":"AutoHotkey","autoit":"AutoIt","basic":"BASIC","csharp":"C#","cpp":"C++","coffeescript":"CoffeeScript","csp":"Content-Security-Policy","css-extras":"CSS Extras","django":"Django/Jinja2","fsharp":"F#","glsl":"GLSL","graphql":"GraphQL","http":"HTTP","hpkp":"HTTP Public-Key-Pins","hsts":"HTTP Strict-Transport-Security","ichigojam":"IchigoJam","inform7":"Inform 7","json":"JSON","latex":"LaTeX","livescript":"LiveScript","lolcode":"LOLCODE","matlab":"MATLAB","mel":"MEL","n4js":"N4JS","nasm":"NASM","nginx":"nginx","nsis":"NSIS","objectivec":"Objective-C","ocaml":"OCaml","opencl":"OpenCL","parigp":"PARI/GP","php":"PHP","php-extras":"PHP Extras","powershell":"PowerShell","properties":".properties","protobuf":"Protocol Buffers","jsx":"React JSX","tsx":"React TSX","renpy":"Ren'py","rest":"reST (reStructuredText)","sas":"SAS","sass":"Sass (Sass)","scss":"Sass (Scss)","sql":"SQL","typescript":"TypeScript","vbnet":"VB.Net","vhdl":"VHDL","vim":"vim","wiki":"Wiki markup","xojo":"Xojo (REALbasic)","yaml":"YAML"}/*]*/;
+var Languages = /*languages_placeholder[*/{"html":"HTML","xml":"XML","svg":"SVG","mathml":"MathML","css":"CSS","clike":"C-like","javascript":"JavaScript","abap":"ABAP","actionscript":"ActionScript","apacheconf":"Apache Configuration","apl":"APL","applescript":"AppleScript","arff":"ARFF","asciidoc":"AsciiDoc","asm6502":"6502 Assembly","aspnet":"ASP.NET (C#)","autohotkey":"AutoHotkey","autoit":"AutoIt","basic":"BASIC","csharp":"C#","cpp":"C++","coffeescript":"CoffeeScript","csp":"Content-Security-Policy","css-extras":"CSS Extras","django":"Django/Jinja2","fsharp":"F#","glsl":"GLSL","graphql":"GraphQL","http":"HTTP","hpkp":"HTTP Public-Key-Pins","hsts":"HTTP Strict-Transport-Security","ichigojam":"IchigoJam","inform7":"Inform 7","json":"JSON","latex":"LaTeX","livescript":"LiveScript","lolcode":"LOLCODE","matlab":"MATLAB","mel":"MEL","n4js":"N4JS","nasm":"NASM","nginx":"nginx","nsis":"NSIS","objectivec":"Objective-C","ocaml":"OCaml","opencl":"OpenCL","parigp":"PARI/GP","php":"PHP","php-extras":"PHP Extras","powershell":"PowerShell","properties":".properties","protobuf":"Protocol Buffers","q":"Q (kdb+ database)","jsx":"React JSX","tsx":"React TSX","renpy":"Ren'py","rest":"reST (reStructuredText)","sas":"SAS","sass":"Sass (Sass)","scss":"Sass (Scss)","sql":"SQL","typescript":"TypeScript","vbnet":"VB.Net","vhdl":"VHDL","vim":"vim","wiki":"Wiki markup","xojo":"Xojo (REALbasic)","yaml":"YAML"}/*]*/;
Prism.plugins.toolbar.registerButton('show-language', function(env) {
var pre = env.element.parentNode;
if (!pre || !/pre/i.test(pre.nodeName)) {
diff --git a/plugins/show-language/prism-show-language.min.js b/plugins/show-language/prism-show-language.min.js
index 214b1c7..9965a39 100644
--- a/plugins/show-language/prism-show-language.min.js
+++ b/plugins/show-language/prism-show-language.min.js
@@ -1 +1 @@
-!function(){if("undefined"!=typeof self&&self.Prism&&self.document){if(!Prism.plugins.toolbar)return console.warn("Show Languages plugin loaded before Toolbar plugin."),void 0;var e={html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",css:"CSS",clike:"C-like",javascript:"JavaScript",abap:"ABAP",actionscript:"ActionScript",apacheconf:"Apache Configuration",apl:"APL",applescript:"AppleScript",arff:"ARFF",asciidoc:"AsciiDoc",asm6502:"6502 Assembly",aspnet:"ASP.NET (C#)",autohotkey:"AutoHotkey",autoit:"AutoIt",basic:"BASIC",csharp:"C#",cpp:"C++",coffeescript:"CoffeeScript",csp:"Content-Security-Policy","css-extras":"CSS Extras",django:"Django/Jinja2",fsharp:"F#",glsl:"GLSL",graphql:"GraphQL",http:"HTTP",hpkp:"HTTP Public-Key-Pins",hsts:"HTTP Strict-Transport-Security",ichigojam:"IchigoJam",inform7:"Inform 7",json:"JSON",latex:"LaTeX",livescript:"LiveScript",lolcode:"LOLCODE",matlab:"MATLAB",mel:"MEL",n4js:"N4JS",nasm:"NASM",nginx:"nginx",nsis:"NSIS",objectivec:"Objective-C",ocaml:"OCaml",opencl:"OpenCL",parigp:"PARI/GP",php:"PHP","php-extras":"PHP Extras",powershell:"PowerShell",properties:".properties",protobuf:"Protocol Buffers",jsx:"React JSX",tsx:"React TSX",renpy:"Ren'py",rest:"reST (reStructuredText)",sas:"SAS",sass:"Sass (Sass)",scss:"Sass (Scss)",sql:"SQL",typescript:"TypeScript",vbnet:"VB.Net",vhdl:"VHDL",vim:"vim",wiki:"Wiki markup",xojo:"Xojo (REALbasic)",yaml:"YAML"};Prism.plugins.toolbar.registerButton("show-language",function(t){var a=t.element.parentNode;if(a&&/pre/i.test(a.nodeName)){var s=a.getAttribute("data-language")||e[t.language]||t.language.substring(0,1).toUpperCase()+t.language.substring(1),i=document.createElement("span");return i.textContent=s,i}})}}();
\ No newline at end of file
+!function(){if("undefined"!=typeof self&&self.Prism&&self.document){if(!Prism.plugins.toolbar)return console.warn("Show Languages plugin loaded before Toolbar plugin."),void 0;var e={html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",css:"CSS",clike:"C-like",javascript:"JavaScript",abap:"ABAP",actionscript:"ActionScript",apacheconf:"Apache Configuration",apl:"APL",applescript:"AppleScript",arff:"ARFF",asciidoc:"AsciiDoc",asm6502:"6502 Assembly",aspnet:"ASP.NET (C#)",autohotkey:"AutoHotkey",autoit:"AutoIt",basic:"BASIC",csharp:"C#",cpp:"C++",coffeescript:"CoffeeScript",csp:"Content-Security-Policy","css-extras":"CSS Extras",django:"Django/Jinja2",fsharp:"F#",glsl:"GLSL",graphql:"GraphQL",http:"HTTP",hpkp:"HTTP Public-Key-Pins",hsts:"HTTP Strict-Transport-Security",ichigojam:"IchigoJam",inform7:"Inform 7",json:"JSON",latex:"LaTeX",livescript:"LiveScript",lolcode:"LOLCODE",matlab:"MATLAB",mel:"MEL",n4js:"N4JS",nasm:"NASM",nginx:"nginx",nsis:"NSIS",objectivec:"Objective-C",ocaml:"OCaml",opencl:"OpenCL",parigp:"PARI/GP",php:"PHP","php-extras":"PHP Extras",powershell:"PowerShell",properties:".properties",protobuf:"Protocol Buffers",q:"Q (kdb+ database)",jsx:"React JSX",tsx:"React TSX",renpy:"Ren'py",rest:"reST (reStructuredText)",sas:"SAS",sass:"Sass (Sass)",scss:"Sass (Scss)",sql:"SQL",typescript:"TypeScript",vbnet:"VB.Net",vhdl:"VHDL",vim:"vim",wiki:"Wiki markup",xojo:"Xojo (REALbasic)",yaml:"YAML"};Prism.plugins.toolbar.registerButton("show-language",function(t){var a=t.element.parentNode;if(a&&/pre/i.test(a.nodeName)){var s=a.getAttribute("data-language")||e[t.language]||t.language.substring(0,1).toUpperCase()+t.language.substring(1),i=document.createElement("span");return i.textContent=s,i}})}}();
\ No newline at end of file