🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
19
node_modules/prismjs/components/prism-idris.js
generated
vendored
Normal file
19
node_modules/prismjs/components/prism-idris.js
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
Prism.languages.idris = Prism.languages.extend('haskell', {
|
||||
'comment': {
|
||||
pattern: /(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m,
|
||||
},
|
||||
'keyword': /\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,
|
||||
'builtin': undefined
|
||||
});
|
||||
|
||||
Prism.languages.insertBefore('idris', 'keyword', {
|
||||
'import-statement': {
|
||||
pattern: /(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,
|
||||
lookbehind: true,
|
||||
inside: {
|
||||
'punctuation': /\./
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Prism.languages.idr = Prism.languages.idris;
|
||||
Loading…
Add table
Add a link
Reference in a new issue