- Add new libraries: ui-accessibility, ui-animations, ui-backgrounds, ui-code-display, ui-data-utils, ui-font-manager, hcl-studio - Add extensive layout components: gallery-grid, infinite-scroll-container, kanban-board, masonry, split-view, sticky-layout - Add comprehensive demo components for all new features - Update project configuration and dependencies - Expand component exports and routing structure - Add UI landing pages planning document 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
25 lines
556 B
JavaScript
25 lines
556 B
JavaScript
// https://go.dev/ref/mod#go-mod-file-module
|
|
|
|
Prism.languages['go-mod'] = Prism.languages['go-module'] = {
|
|
'comment': {
|
|
pattern: /\/\/.*/,
|
|
greedy: true
|
|
},
|
|
'version': {
|
|
pattern: /(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,
|
|
lookbehind: true,
|
|
alias: 'number'
|
|
},
|
|
'go-version': {
|
|
pattern: /((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,
|
|
lookbehind: true,
|
|
alias: 'number'
|
|
},
|
|
'keyword': {
|
|
pattern: /^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,
|
|
lookbehind: true
|
|
},
|
|
'operator': /=>/,
|
|
'punctuation': /[()[\],]/
|
|
};
|