@dogsbay/render 0.0.0-stage → 0.2.0-beta.116

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/README.md +123 -2
  2. package/dist/bin.mjs +2 -0
  3. package/dist/chunks/bash-AXAJJ7K6.mjs +1 -0
  4. package/dist/chunks/bat-7CTKDPA4.mjs +1 -0
  5. package/dist/chunks/c-2ALCOF6B.mjs +1 -0
  6. package/dist/chunks/chunk-2V77MTNA.mjs +1 -0
  7. package/dist/chunks/chunk-3T25FO5N.mjs +1 -0
  8. package/dist/chunks/chunk-5C2LWUV4.mjs +1 -0
  9. package/dist/chunks/chunk-7YSHM6MG.mjs +292 -0
  10. package/dist/chunks/chunk-AMPZKS45.mjs +1 -0
  11. package/dist/chunks/chunk-D5QQMPWZ.mjs +1 -0
  12. package/dist/chunks/chunk-DBZCYXBR.mjs +1 -0
  13. package/dist/chunks/chunk-DNR4KJZ7.mjs +1 -0
  14. package/dist/chunks/chunk-EMU37BKV.mjs +1 -0
  15. package/dist/chunks/chunk-FTE2QTX3.mjs +1 -0
  16. package/dist/chunks/chunk-GYXQUFKI.mjs +1 -0
  17. package/dist/chunks/chunk-H2IGYTRE.mjs +24 -0
  18. package/dist/chunks/chunk-JH6FQVMJ.mjs +1 -0
  19. package/dist/chunks/chunk-JJYGK4XN.mjs +1 -0
  20. package/dist/chunks/chunk-JU5ZB3NL.mjs +1 -0
  21. package/dist/chunks/chunk-KS3ZRC2G.mjs +1 -0
  22. package/dist/chunks/chunk-MRVVZS77.mjs +1 -0
  23. package/dist/chunks/chunk-OATTKKBP.mjs +2841 -0
  24. package/dist/chunks/chunk-PWWOV7EH.mjs +1 -0
  25. package/dist/chunks/chunk-S4P3ZA47.mjs +1 -0
  26. package/dist/chunks/chunk-ZINTF3TI.mjs +1 -0
  27. package/dist/chunks/cpp-ELFCDB6P.mjs +1 -0
  28. package/dist/chunks/csharp-UJBNPXBE.mjs +1 -0
  29. package/dist/chunks/css-TX5O34LD.mjs +1 -0
  30. package/dist/chunks/diff-ITLGU3RJ.mjs +1 -0
  31. package/dist/chunks/docker-W46D43PZ.mjs +1 -0
  32. package/dist/chunks/go-UCPHIMPJ.mjs +1 -0
  33. package/dist/chunks/graphql-GWC2SWRW.mjs +1 -0
  34. package/dist/chunks/groovy-RX766UL6.mjs +1 -0
  35. package/dist/chunks/hcl-BQZ3TWA5.mjs +1 -0
  36. package/dist/chunks/highlight-TEBJABA3.mjs +154 -0
  37. package/dist/chunks/html-M7IQMCZW.mjs +1 -0
  38. package/dist/chunks/http-YDAJYC64.mjs +1 -0
  39. package/dist/chunks/ini-4KFO7XTF.mjs +1 -0
  40. package/dist/chunks/java-4TDTVHME.mjs +1 -0
  41. package/dist/chunks/javascript-FK6BYXR7.mjs +1 -0
  42. package/dist/chunks/json-KOMOQDAQ.mjs +1 -0
  43. package/dist/chunks/jsonc-ZEH5OBPD.mjs +1 -0
  44. package/dist/chunks/jsx-53PXQ2NL.mjs +1 -0
  45. package/dist/chunks/katex-7RASWIHN.mjs +257 -0
  46. package/dist/chunks/kotlin-7LYXSLAF.mjs +1 -0
  47. package/dist/chunks/makefile-PSNUPH2Q.mjs +1 -0
  48. package/dist/chunks/markdown-AXYPIRPT.mjs +1 -0
  49. package/dist/chunks/nginx-G3STFXGR.mjs +1 -0
  50. package/dist/chunks/powershell-CF3YYGE3.mjs +1 -0
  51. package/dist/chunks/properties-2HBJIUMB.mjs +1 -0
  52. package/dist/chunks/python-4EUPCMJH.mjs +1 -0
  53. package/dist/chunks/ruby-6JITY6TM.mjs +1 -0
  54. package/dist/chunks/rust-YKPB2B2E.mjs +1 -0
  55. package/dist/chunks/scss-UA7SFP3B.mjs +1 -0
  56. package/dist/chunks/shellsession-REQ4XMXL.mjs +1 -0
  57. package/dist/chunks/sql-WST4KER7.mjs +1 -0
  58. package/dist/chunks/toml-HFJFO2T2.mjs +1 -0
  59. package/dist/chunks/tsx-IMEWP7MM.mjs +1 -0
  60. package/dist/chunks/typescript-423LFGQL.mjs +1 -0
  61. package/dist/chunks/xml-J4Q6YQIU.mjs +1 -0
  62. package/dist/chunks/xsl-QZERU56Y.mjs +1 -0
  63. package/dist/chunks/yaml-HBNW4TN5.mjs +1 -0
  64. package/dist/cli.mjs +1 -0
  65. package/dist/index.mjs +1 -0
  66. package/dist/types/bin.d.ts +2 -0
  67. package/dist/types/cli.d.ts +14 -0
  68. package/dist/types/css.d.ts +8 -0
  69. package/dist/types/document.d.ts +31 -0
  70. package/dist/types/generated/assets.d.ts +3 -0
  71. package/dist/types/index.d.ts +11 -0
  72. package/dist/types/lower.d.ts +9 -0
  73. package/dist/types/report.d.ts +28 -0
  74. package/dist/types/strings.d.ts +2 -0
  75. package/package.json +52 -3
  76. package/skills/dogsbay-documents/SKILL.md +222 -0
@@ -0,0 +1 @@
1
+ import{a as e}from"./chunk-EMU37BKV.mjs";import"./chunk-2V77MTNA.mjs";var n=Object.freeze(JSON.parse(`{"displayName":"SCSS","name":"scss","patterns":[{"include":"#variable_setting"},{"include":"#at_rule_forward"},{"include":"#at_rule_use"},{"include":"#at_rule_include"},{"include":"#at_rule_import"},{"include":"#general"},{"include":"#flow_control"},{"include":"#rules"},{"include":"#property_list"},{"include":"#at_rule_mixin"},{"include":"#at_rule_media"},{"include":"#at_rule_function"},{"include":"#at_rule_charset"},{"include":"#at_rule_option"},{"include":"#at_rule_namespace"},{"include":"#at_rule_fontface"},{"include":"#at_rule_page"},{"include":"#at_rule_keyframes"},{"include":"#at_rule_at_root"},{"include":"#at_rule_supports"},{"match":";","name":"punctuation.terminator.rule.css"}],"repository":{"at_rule_at_root":{"begin":"\\\\s*((@)(at-root))(\\\\s+|$)","beginCaptures":{"1":{"name":"keyword.control.at-rule.at-root.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"end":"\\\\s*(?=\\\\{)","name":"meta.at-rule.at-root.scss","patterns":[{"include":"#function_attributes"},{"include":"#functions"},{"include":"#selectors"}]},"at_rule_charset":{"begin":"\\\\s*((@)charset)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.at-rule.charset.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"end":"\\\\s*((?=;|$))","name":"meta.at-rule.charset.scss","patterns":[{"include":"#variable"},{"include":"#string_single"},{"include":"#string_double"}]},"at_rule_content":{"begin":"\\\\s*((@)content)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.content.scss"}},"end":"\\\\s*((?=;))","name":"meta.content.scss","patterns":[{"include":"#variable"},{"include":"#selectors"},{"include":"#property_values"}]},"at_rule_each":{"begin":"\\\\s*((@)each)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.each.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"end":"\\\\s*((?=}))","name":"meta.at-rule.each.scss","patterns":[{"match":"\\\\b(in|,)\\\\b","name":"keyword.control.operator"},{"include":"#variable"},{"include":"#property_values"},{"include":"$self"}]},"at_rule_else":{"begin":"\\\\s*((@)else(\\\\s*(if)?))\\\\s*","captures":{"1":{"name":"keyword.control.else.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"end":"\\\\s*(?=\\\\{)","name":"meta.at-rule.else.scss","patterns":[{"include":"#conditional_operators"},{"include":"#variable"},{"include":"#property_values"}]},"at_rule_extend":{"begin":"\\\\s*((@)extend)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.at-rule.extend.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"end":"\\\\s*(?=;)","name":"meta.at-rule.extend.scss","patterns":[{"include":"#variable"},{"include":"#selectors"},{"include":"#property_values"}]},"at_rule_fontface":{"patterns":[{"begin":"^\\\\s*((@)font-face)\\\\b","beginCaptures":{"1":{"name":"keyword.control.at-rule.fontface.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"end":"\\\\s*(?=\\\\{)","name":"meta.at-rule.fontface.scss","patterns":[{"include":"#function_attributes"}]}]},"at_rule_for":{"begin":"\\\\s*((@)for)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.for.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"end":"\\\\s*(?=\\\\{)","name":"meta.at-rule.for.scss","patterns":[{"match":"(==|!=|<=|>=|[<>]|from|to|through)","name":"keyword.control.operator"},{"include":"#variable"},{"include":"#property_values"},{"include":"$self"}]},"at_rule_forward":{"begin":"\\\\s*((@)forward)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.at-rule.forward.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"end":"\\\\s*(?=;)","name":"meta.at-rule.forward.scss","patterns":[{"match":"\\\\b(as|hide|show)\\\\b","name":"keyword.control.operator"},{"captures":{"1":{"name":"entity.other.attribute-name.module.scss"},"2":{"name":"punctuation.definition.wildcard.scss"}},"match":"\\\\b([-\\\\w]+)(\\\\*)"},{"match":"\\\\b[-\\\\w]+\\\\b","name":"entity.name.function.scss"},{"include":"#variable"},{"include":"#string_single"},{"include":"#string_double"},{"include":"#comment_line"},{"include":"#comment_block"}]},"at_rule_function":{"patterns":[{"begin":"\\\\s*((@)function)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.at-rule.function.scss"},"2":{"name":"punctuation.definition.keyword.scss"},"3":{"name":"entity.name.function.scss"}},"end":"\\\\s*(?=\\\\{)","name":"meta.at-rule.function.scss","patterns":[{"include":"#function_attributes"}]},{"captures":{"1":{"name":"keyword.control.at-rule.function.scss"},"2":{"name":"punctuation.definition.keyword.scss"},"3":{"name":"entity.name.function.scss"}},"match":"\\\\s*((@)function)\\\\b\\\\s*","name":"meta.at-rule.function.scss"}]},"at_rule_if":{"begin":"\\\\s*((@)if)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.if.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"end":"\\\\s*(?=\\\\{)","name":"meta.at-rule.if.scss","patterns":[{"include":"#conditional_operators"},{"include":"#variable"},{"include":"#property_values"}]},"at_rule_import":{"begin":"\\\\s*((@)import)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.at-rule.import.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"end":"\\\\s*((?=;)|(?=}))","name":"meta.at-rule.import.scss","patterns":[{"include":"#variable"},{"include":"#string_single"},{"include":"#string_double"},{"include":"#functions"},{"include":"#comment_line"}]},"at_rule_include":{"patterns":[{"begin":"(?<=@include)\\\\s+(?:([-\\\\w]+)\\\\s*(\\\\.))?([-\\\\w]+)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"variable.scss"},"2":{"name":"punctuation.access.module.scss"},"3":{"name":"entity.name.function.scss"},"4":{"name":"punctuation.definition.parameters.begin.bracket.round.scss"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.scss"}},"name":"meta.at-rule.include.scss","patterns":[{"include":"#function_attributes"}]},{"captures":{"0":{"name":"meta.at-rule.include.scss"},"1":{"name":"variable.scss"},"2":{"name":"punctuation.access.module.scss"},"3":{"name":"entity.name.function.scss"}},"match":"(?<=@include)\\\\s+(?:([-\\\\w]+)\\\\s*(\\\\.))?([-\\\\w]+)"},{"captures":{"0":{"name":"meta.at-rule.include.scss"},"1":{"name":"keyword.control.at-rule.include.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"match":"((@)include)\\\\b"}]},"at_rule_keyframes":{"begin":"(?<=^|\\\\s)(@)(?:-(?:webkit|moz)-)?keyframes\\\\b","beginCaptures":{"0":{"name":"keyword.control.at-rule.keyframes.scss"},"1":{"name":"punctuation.definition.keyword.scss"}},"end":"(?<=})","name":"meta.at-rule.keyframes.scss","patterns":[{"captures":{"1":{"name":"entity.name.function.scss"}},"match":"(?<=@keyframes)\\\\s+((?:[A-Z_a-z][-\\\\w]|-[A-Z_a-z])[-\\\\w]*)"},{"begin":"(?<=@keyframes)\\\\s+(\\")","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.scss"}},"contentName":"entity.name.function.scss","end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.scss"}},"name":"string.quoted.double.scss","patterns":[{"match":"\\\\\\\\(\\\\h{1,6}|.)","name":"constant.character.escape.scss"},{"include":"#interpolation"}]},{"begin":"(?<=@keyframes)\\\\s+(')","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.scss"}},"contentName":"entity.name.function.scss","end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.scss"}},"name":"string.quoted.single.scss","patterns":[{"match":"\\\\\\\\(\\\\h{1,6}|.)","name":"constant.character.escape.scss"},{"include":"#interpolation"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.keyframes.begin.scss"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.keyframes.end.scss"}},"patterns":[{"match":"\\\\b(?:(?:100|[1-9]\\\\d|\\\\d)%|from|to)(?=\\\\s*\\\\{)","name":"entity.other.attribute-name.scss"},{"include":"#flow_control"},{"include":"#interpolation"},{"include":"#property_list"},{"include":"#rules"}]}]},"at_rule_media":{"patterns":[{"begin":"^\\\\s*((@)media)\\\\b","beginCaptures":{"1":{"name":"keyword.control.at-rule.media.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"end":"\\\\s*(?=\\\\{)","name":"meta.at-rule.media.scss","patterns":[{"include":"#comment_docblock"},{"include":"#comment_block"},{"include":"#comment_line"},{"match":"\\\\b(only)\\\\b","name":"keyword.control.operator.css.scss"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.media-query.begin.bracket.round.scss"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.media-query.end.bracket.round.scss"}},"name":"meta.property-list.media-query.scss","patterns":[{"begin":"(?<![-a-z])(?=[-a-z])","end":"$|(?![-a-z])","name":"meta.property-name.media-query.scss","patterns":[{"include":"source.css#media-features"},{"include":"source.css#property-names"}]},{"begin":"(:)\\\\s*(?!(\\\\s*\\\\{))","beginCaptures":{"1":{"name":"punctuation.separator.key-value.scss"}},"contentName":"meta.property-value.media-query.scss","end":"\\\\s*(;|(?=[)}]))","endCaptures":{"1":{"name":"punctuation.terminator.rule.scss"}},"patterns":[{"include":"#general"},{"include":"#property_values"}]}]},{"include":"#variable"},{"include":"#conditional_operators"},{"include":"source.css#media-types"}]}]},"at_rule_mixin":{"patterns":[{"begin":"(?<=@mixin)\\\\s+([-\\\\w]+)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.scss"},"2":{"name":"punctuation.definition.parameters.begin.bracket.round.scss"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.scss"}},"name":"meta.at-rule.mixin.scss","patterns":[{"include":"#function_attributes"}]},{"captures":{"1":{"name":"entity.name.function.scss"}},"match":"(?<=@mixin)\\\\s+([-\\\\w]+)","name":"meta.at-rule.mixin.scss"},{"captures":{"1":{"name":"keyword.control.at-rule.mixin.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"match":"((@)mixin)\\\\b","name":"meta.at-rule.mixin.scss"}]},"at_rule_namespace":{"patterns":[{"begin":"(?<=@namespace)\\\\s+(?=url)","end":"(?=;|$)","name":"meta.at-rule.namespace.scss","patterns":[{"include":"#property_values"},{"include":"#string_single"},{"include":"#string_double"}]},{"begin":"(?<=@namespace)\\\\s+([-\\\\w]*)","captures":{"1":{"name":"entity.name.namespace-prefix.scss"}},"end":"(?=;|$)","name":"meta.at-rule.namespace.scss","patterns":[{"include":"#variables"},{"include":"#property_values"},{"include":"#string_single"},{"include":"#string_double"}]},{"captures":{"1":{"name":"keyword.control.at-rule.namespace.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"match":"((@)namespace)\\\\b","name":"meta.at-rule.namespace.scss"}]},"at_rule_option":{"captures":{"1":{"name":"keyword.control.at-rule.charset.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"match":"^\\\\s*((@)option)\\\\b\\\\s*","name":"meta.at-rule.option.scss"},"at_rule_page":{"patterns":[{"begin":"^\\\\s*((@)page)(?=[:\\\\s])\\\\s*([-:\\\\w]*)","captures":{"1":{"name":"keyword.control.at-rule.page.scss"},"2":{"name":"punctuation.definition.keyword.scss"},"3":{"name":"entity.name.function.scss"}},"end":"\\\\s*(?=\\\\{)","name":"meta.at-rule.page.scss"}]},"at_rule_return":{"begin":"\\\\s*((@)(return))\\\\b","captures":{"1":{"name":"keyword.control.return.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"end":"\\\\s*((?=;))","name":"meta.at-rule.return.scss","patterns":[{"include":"#variable"},{"include":"#property_values"}]},"at_rule_supports":{"begin":"(?<=^|\\\\s)(@)supports\\\\b","captures":{"0":{"name":"keyword.control.at-rule.supports.scss"},"1":{"name":"punctuation.definition.keyword.scss"}},"end":"(?=\\\\{)|$","name":"meta.at-rule.supports.scss","patterns":[{"include":"#logical_operators"},{"include":"#properties"},{"match":"\\\\(","name":"punctuation.definition.condition.begin.bracket.round.scss"},{"match":"\\\\)","name":"punctuation.definition.condition.end.bracket.round.scss"}]},"at_rule_use":{"begin":"\\\\s*((@)use)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.at-rule.use.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"end":"\\\\s*(?=;)","name":"meta.at-rule.use.scss","patterns":[{"match":"\\\\b(as|with)\\\\b","name":"keyword.control.operator"},{"match":"\\\\b[-\\\\w]+\\\\b","name":"variable.scss"},{"match":"\\\\*","name":"variable.language.expanded-namespace.scss"},{"include":"#string_single"},{"include":"#string_double"},{"include":"#comment_line"},{"include":"#comment_block"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.bracket.round.scss"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.scss"}},"patterns":[{"include":"#function_attributes"}]}]},"at_rule_warn":{"begin":"\\\\s*((@)(warn|debug|error))\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.warn.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"end":"\\\\s*(?=;)","name":"meta.at-rule.warn.scss","patterns":[{"include":"#variable"},{"include":"#string_double"},{"include":"#string_single"}]},"at_rule_while":{"begin":"\\\\s*((@)while)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.while.scss"},"2":{"name":"punctuation.definition.keyword.scss"}},"end":"\\\\s*(?=})","name":"meta.at-rule.while.scss","patterns":[{"include":"#conditional_operators"},{"include":"#variable"},{"include":"#property_values"},{"include":"$self"}]},"comment_block":{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.scss"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.scss"}},"name":"comment.block.scss"},"comment_docblock":{"begin":"///","beginCaptures":{"0":{"name":"punctuation.definition.comment.scss"}},"end":"(?=$)","name":"comment.block.documentation.scss","patterns":[{"include":"source.sassdoc"}]},"comment_line":{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.scss"}},"end":"\\\\n","name":"comment.line.scss"},"comparison_operators":{"match":"==|!=|<=|>=|[<>]","name":"keyword.operator.comparison.scss"},"conditional_operators":{"patterns":[{"include":"#comparison_operators"},{"include":"#logical_operators"}]},"constant_default":{"match":"!default","name":"keyword.other.default.scss"},"constant_functions":{"begin":"(?:([-\\\\w]+)(\\\\.))?([-\\\\w]+)(\\\\()","beginCaptures":{"1":{"name":"variable.scss"},"2":{"name":"punctuation.access.module.scss"},"3":{"name":"support.function.misc.scss"},"4":{"name":"punctuation.section.function.scss"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.section.function.scss"}},"patterns":[{"include":"#parameters"}]},"constant_important":{"match":"!important","name":"keyword.other.important.scss"},"constant_mathematical_symbols":{"match":"\\\\b([-*+/])\\\\b","name":"support.constant.mathematical-symbols.scss"},"constant_optional":{"match":"!optional","name":"keyword.other.optional.scss"},"constant_sass_functions":{"begin":"(headings|stylesheet-url|rgba?|hsla?|ie-hex-str|red|green|blue|alpha|opacity|hue|saturation|lightness|prefixed|prefix|-moz|-svg|-css2|-pie|-webkit|-ms|font-(?:files|url)|grid-image|image-(?:width|height|url|color)|sprites?|sprite-(?:map|map-name|file|url|position)|inline-(?:font-files|image)|opposite-position|grad-point|grad-end-position|color-stops|color-stops-in-percentages|grad-color-stops|(?:radial|linear)-(?:|svg-)gradient|opacify|fade-?in|transparentize|fade-?out|lighten|darken|saturate|desaturate|grayscale|adjust-(?:hue|lightness|saturation|color)|scale-(?:lightness|saturation|color)|change-color|spin|complement|invert|mix|-compass-(?:list|space-list|slice|nth|list-size)|blank|compact|nth|first-value-of|join|length|append|nest|append-selector|headers|enumerate|range|percentage|unitless|unit|if|type-of|comparable|elements-of-type|quote|unquote|escape|e|sin|cos|tan|abs|round|ceil|floor|pi|translate[XY])(\\\\()","beginCaptures":{"1":{"name":"support.function.misc.scss"},"2":{"name":"punctuation.section.function.scss"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.section.function.scss"}},"patterns":[{"include":"#parameters"}]},"flow_control":{"patterns":[{"include":"#at_rule_if"},{"include":"#at_rule_else"},{"include":"#at_rule_warn"},{"include":"#at_rule_for"},{"include":"#at_rule_while"},{"include":"#at_rule_each"},{"include":"#at_rule_return"}]},"function_attributes":{"patterns":[{"match":":","name":"punctuation.separator.key-value.scss"},{"include":"#general"},{"include":"#property_values"},{"match":"[;=?@{}]","name":"invalid.illegal.scss"}]},"functions":{"patterns":[{"begin":"([-\\\\w]+)(\\\\()\\\\s*","beginCaptures":{"1":{"name":"support.function.misc.scss"},"2":{"name":"punctuation.section.function.scss"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.section.function.scss"}},"patterns":[{"include":"#parameters"}]},{"match":"([-\\\\w]+)","name":"support.function.misc.scss"}]},"general":{"patterns":[{"include":"#variable"},{"include":"#comment_docblock"},{"include":"#comment_block"},{"include":"#comment_line"}]},"interpolation":{"begin":"#\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.interpolation.begin.bracket.curly.scss"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.interpolation.end.bracket.curly.scss"}},"name":"variable.interpolation.scss","patterns":[{"include":"#variable"},{"include":"#property_values"}]},"logical_operators":{"match":"\\\\b(not|or|and)\\\\b","name":"keyword.operator.logical.scss"},"map":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.map.begin.bracket.round.scss"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.map.end.bracket.round.scss"}},"name":"meta.definition.variable.map.scss","patterns":[{"include":"#comment_docblock"},{"include":"#comment_block"},{"include":"#comment_line"},{"captures":{"1":{"name":"support.type.map.key.scss"},"2":{"name":"punctuation.separator.key-value.scss"}},"match":"\\\\b([-\\\\w]+)\\\\s*(:)"},{"match":",","name":"punctuation.separator.delimiter.scss"},{"include":"#map"},{"include":"#variable"},{"include":"#property_values"}]},"operators":{"match":"[-*+/](?!\\\\s*[-*+/])","name":"keyword.operator.css"},"parameters":{"patterns":[{"include":"#variable"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.scss"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.scss"}},"patterns":[{"include":"#function_attributes"}]},{"include":"#property_values"},{"include":"#comment_block"},{"match":"[^\\\\t \\"'),]+","name":"variable.parameter.url.scss"},{"match":",","name":"punctuation.separator.delimiter.scss"}]},"parent_selector_suffix":{"captures":{"1":{"name":"punctuation.definition.entity.css"},"2":{"patterns":[{"include":"#interpolation"},{"match":"\\\\\\\\(\\\\h{1,6}|.)","name":"constant.character.escape.scss"},{"match":"[$}]","name":"invalid.illegal.identifier.scss"}]}},"match":"(?<=&)((?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.)|#\\\\{|[$}])+)(?=$|[#)+,.:>\\\\[{|~\\\\s]|/\\\\*)","name":"entity.other.attribute-name.parent-selector-suffix.css"},"properties":{"patterns":[{"begin":"(?<![-a-z])(?=[-a-z])","end":"$|(?![-a-z])","name":"meta.property-name.scss","patterns":[{"include":"source.css#property-names"},{"include":"#at_rule_include"}]},{"begin":"(:)\\\\s*(?!(\\\\s*\\\\{))","beginCaptures":{"1":{"name":"punctuation.separator.key-value.scss"}},"contentName":"meta.property-value.scss","end":"\\\\s*(;|(?=[)}]))","endCaptures":{"1":{"name":"punctuation.terminator.rule.scss"}},"patterns":[{"include":"#general"},{"include":"#property_values"}]}]},"property_list":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.property-list.begin.bracket.curly.scss"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.property-list.end.bracket.curly.scss"}},"name":"meta.property-list.scss","patterns":[{"include":"#flow_control"},{"include":"#rules"},{"include":"#properties"},{"include":"$self"}]},"property_values":{"patterns":[{"include":"#string_single"},{"include":"#string_double"},{"include":"#constant_functions"},{"include":"#constant_sass_functions"},{"include":"#constant_important"},{"include":"#constant_default"},{"include":"#constant_optional"},{"include":"source.css#numeric-values"},{"include":"source.css#property-keywords"},{"include":"source.css#color-keywords"},{"include":"source.css#property-names"},{"include":"#constant_mathematical_symbols"},{"include":"#operators"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.begin.bracket.round.scss"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.end.bracket.round.scss"}},"patterns":[{"include":"#general"},{"include":"#property_values"}]}]},"rules":{"patterns":[{"include":"#general"},{"include":"#at_rule_extend"},{"include":"#at_rule_content"},{"include":"#at_rule_include"},{"include":"#at_rule_media"},{"include":"#selectors"}]},"selector_attribute":{"captures":{"1":{"name":"punctuation.definition.attribute-selector.begin.bracket.square.scss"},"2":{"name":"entity.other.attribute-name.attribute.scss","patterns":[{"include":"#interpolation"},{"match":"\\\\\\\\(\\\\h{1,6}|.)","name":"constant.character.escape.scss"},{"match":"[$}]","name":"invalid.illegal.scss"}]},"3":{"name":"keyword.operator.scss"},"4":{"name":"string.unquoted.attribute-value.scss","patterns":[{"include":"#interpolation"},{"match":"\\\\\\\\(\\\\h{1,6}|.)","name":"constant.character.escape.scss"},{"match":"[$}]","name":"invalid.illegal.scss"}]},"5":{"name":"string.quoted.double.attribute-value.scss"},"6":{"name":"punctuation.definition.string.begin.scss"},"7":{"patterns":[{"include":"#interpolation"},{"match":"\\\\\\\\(\\\\h{1,6}|.)","name":"constant.character.escape.scss"},{"match":"[$}]","name":"invalid.illegal.scss"}]},"8":{"name":"punctuation.definition.string.end.scss"},"9":{"name":"string.quoted.single.attribute-value.scss"},"10":{"name":"punctuation.definition.string.begin.scss"},"11":{"patterns":[{"include":"#interpolation"},{"match":"\\\\\\\\(\\\\h{1,6}|.)","name":"constant.character.escape.scss"},{"match":"[$}]","name":"invalid.illegal.scss"}]},"12":{"name":"punctuation.definition.string.end.scss"},"13":{"name":"punctuation.definition.attribute-selector.end.bracket.square.scss"}},"match":"(?i)(\\\\[)\\\\s*((?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.)|#\\\\{|\\\\.?\\\\$|})+?)(?:\\\\s*([$*^|~]?=)\\\\s*(?:((?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.)|#\\\\{|\\\\.?\\\\$|})+)|((\\")(.*?)(\\"))|((')(.*?)('))))?\\\\s*(])","name":"meta.attribute-selector.scss"},"selector_class":{"captures":{"1":{"name":"punctuation.definition.entity.css"},"2":{"patterns":[{"include":"#interpolation"},{"match":"\\\\\\\\(\\\\h{1,6}|.)","name":"constant.character.escape.scss"},{"match":"[$}]","name":"invalid.illegal.scss"}]}},"match":"(\\\\.)((?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.)|#\\\\{|\\\\.?\\\\$|})+)(?=$|[#)+,:>\\\\[{|~\\\\s]|\\\\.[^$]|/\\\\*|;)","name":"entity.other.attribute-name.class.css"},"selector_custom":{"match":"\\\\b([0-9A-Za-z]+(-[0-9A-Za-z]+)+)(?=\\\\.|\\\\s++[^:]|\\\\s*[,\\\\[{]|:(link|visited|hover|active|focus|target|lang|disabled|enabled|checked|indeterminate|root|nth-((?:|last-)(?:child|of-type))|first-child|last-child|first-of-type|last-of-type|only-child|only-of-type|empty|not|valid|invalid)(\\\\([0-9A-Za-z]*\\\\))?)","name":"entity.name.tag.custom.scss"},"selector_id":{"captures":{"1":{"name":"punctuation.definition.entity.css"},"2":{"patterns":[{"include":"#interpolation"},{"match":"\\\\\\\\(\\\\h{1,6}|.)","name":"constant.character.escape.scss"},{"match":"[$}]","name":"invalid.illegal.identifier.scss"}]}},"match":"(#)((?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.)|#\\\\{|\\\\.?\\\\$|})+)(?=$|[#)+,:>\\\\[{|~\\\\s]|\\\\.[^$]|/\\\\*)","name":"entity.other.attribute-name.id.css"},"selector_placeholder":{"captures":{"1":{"name":"punctuation.definition.entity.css"},"2":{"patterns":[{"include":"#interpolation"},{"match":"\\\\\\\\(\\\\h{1,6}|.)","name":"constant.character.escape.scss"},{"match":"[$}]","name":"invalid.illegal.identifier.scss"}]}},"match":"(%)((?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.)|#\\\\{|\\\\.\\\\$|[$}])+)(?=;|$|[#)+,:>\\\\[{|~\\\\s]|\\\\.[^$]|/\\\\*)","name":"entity.other.attribute-name.placeholder.css"},"selector_pseudo_class":{"patterns":[{"begin":"((:)\\\\bnth-(?:|last-)(?:child|of-type))(\\\\()","beginCaptures":{"1":{"name":"entity.other.attribute-name.pseudo-class.css"},"2":{"name":"punctuation.definition.entity.css"},"3":{"name":"punctuation.definition.pseudo-class.begin.bracket.round.css"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.pseudo-class.end.bracket.round.css"}},"patterns":[{"include":"#interpolation"},{"match":"\\\\d+","name":"constant.numeric.css"},{"match":"(?:(?<=\\\\d)n|\\\\b(n|even|odd))\\\\b","name":"constant.other.scss"},{"match":"\\\\w+","name":"invalid.illegal.scss"}]},{"include":"source.css#pseudo-classes"},{"include":"source.css#pseudo-elements"},{"include":"source.css#functional-pseudo-classes"}]},"selectors":{"patterns":[{"include":"source.css#tag-names"},{"include":"#selector_custom"},{"include":"#selector_class"},{"include":"#selector_id"},{"include":"#selector_pseudo_class"},{"include":"#tag_wildcard"},{"include":"#tag_parent_reference"},{"include":"source.css#pseudo-elements"},{"include":"#selector_attribute"},{"include":"#selector_placeholder"},{"include":"#parent_selector_suffix"}]},"string_double":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.scss"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.scss"}},"name":"string.quoted.double.scss","patterns":[{"match":"\\\\\\\\(\\\\h{1,6}|.)","name":"constant.character.escape.scss"},{"include":"#interpolation"}]},"string_single":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.scss"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.scss"}},"name":"string.quoted.single.scss","patterns":[{"match":"\\\\\\\\(\\\\h{1,6}|.)","name":"constant.character.escape.scss"},{"include":"#interpolation"}]},"tag_parent_reference":{"match":"&","name":"entity.name.tag.reference.scss"},"tag_wildcard":{"match":"\\\\*","name":"entity.name.tag.wildcard.scss"},"variable":{"patterns":[{"include":"#variables"},{"include":"#interpolation"}]},"variable_setting":{"begin":"(?=\\\\$[-\\\\w]+\\\\s*:)","contentName":"meta.definition.variable.scss","end":";","endCaptures":{"0":{"name":"punctuation.terminator.rule.scss"}},"patterns":[{"match":"\\\\$[-\\\\w]+(?=\\\\s*:)","name":"variable.scss"},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.key-value.scss"}},"end":"(?=;)","patterns":[{"include":"#comment_docblock"},{"include":"#comment_block"},{"include":"#comment_line"},{"include":"#map"},{"include":"#property_values"},{"include":"#variable"},{"match":",","name":"punctuation.separator.delimiter.scss"}]}]},"variables":{"patterns":[{"captures":{"1":{"name":"variable.scss"},"2":{"name":"punctuation.access.module.scss"},"3":{"name":"variable.scss"}},"match":"\\\\b([-\\\\w]+)(\\\\.)(\\\\$[-\\\\w]+)\\\\b"},{"match":"(\\\\$|--)[-0-9A-Z_a-z]+\\\\b","name":"variable.scss"}]}},"scopeName":"source.css.scss","embeddedLangs":["css"]}`)),s=[...e,n];export{s as default};
@@ -0,0 +1 @@
1
+ import{a as e}from"./chunk-FTE2QTX3.mjs";import"./chunk-2V77MTNA.mjs";var s=Object.freeze(JSON.parse('{"displayName":"Shell Session","fileTypes":["sh-session"],"name":"shellsession","patterns":[{"captures":{"1":{"name":"entity.other.prompt-prefix.shell-session"},"2":{"name":"punctuation.separator.prompt.shell-session"},"3":{"name":"source.shell","patterns":[{"include":"source.shell"}]}},"match":"^(?:((?:\\\\(\\\\S+\\\\)\\\\s*)?(?:sh\\\\S*?|\\\\w+\\\\S+[:@]\\\\S+(?:\\\\s+\\\\S+)?|\\\\[\\\\S+?[:@]\\\\N+?].*?))\\\\s*)?([#$%>\u276F\u279C\\\\p{Greek}])\\\\s+(.*)$"},{"match":"^.+$","name":"meta.output.shell-session"}],"scopeName":"text.shell-session","embeddedLangs":["shellscript"],"aliases":["console"]}')),t=[...e,s];export{t as default};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-D5QQMPWZ.mjs";import"./chunk-2V77MTNA.mjs";export{a as default};
@@ -0,0 +1 @@
1
+ import"./chunk-2V77MTNA.mjs";var n=Object.freeze(JSON.parse(`{"displayName":"TOML","fileTypes":["toml"],"name":"toml","patterns":[{"include":"#comments"},{"include":"#groups"},{"include":"#key_pair"},{"include":"#invalid"}],"repository":{"comments":{"begin":"(^[\\\\t ]+)?(?=#)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.toml"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.toml"}},"end":"\\\\n","name":"comment.line.number-sign.toml"}]},"groups":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.section.begin.toml"},"2":{"patterns":[{"match":"[^.\\\\s]+","name":"entity.name.section.toml"}]},"3":{"name":"punctuation.definition.section.begin.toml"}},"match":"^\\\\s*(\\\\[)([^]\\\\[]*)(])","name":"meta.group.toml"},{"captures":{"1":{"name":"punctuation.definition.section.begin.toml"},"2":{"patterns":[{"match":"[^.\\\\s]+","name":"entity.name.section.toml"}]},"3":{"name":"punctuation.definition.section.begin.toml"}},"match":"^\\\\s*(\\\\[\\\\[)([^]\\\\[]*)(]])","name":"meta.group.double.toml"}]},"invalid":{"match":"\\\\S+(\\\\s*(?=\\\\S))?","name":"invalid.illegal.not-allowed-here.toml"},"key_pair":{"patterns":[{"begin":"([-0-9A-Z_a-z]+)\\\\s*(=)\\\\s*","captures":{"1":{"name":"variable.other.key.toml"},"2":{"name":"punctuation.separator.key-value.toml"}},"end":"(?<=\\\\S)(?<!=)|$","patterns":[{"include":"#primatives"}]},{"begin":"((\\")(.*?)(\\"))\\\\s*(=)\\\\s*","captures":{"1":{"name":"variable.other.key.toml"},"2":{"name":"punctuation.definition.variable.begin.toml"},"3":{"patterns":[{"match":"\\\\\\\\([\\"\\\\\\\\bfnrt]|u\\\\h{4}|U\\\\h{8})","name":"constant.character.escape.toml"},{"match":"\\\\\\\\[^\\"\\\\\\\\bfnrt]","name":"invalid.illegal.escape.toml"},{"match":"\\"","name":"invalid.illegal.not-allowed-here.toml"}]},"4":{"name":"punctuation.definition.variable.end.toml"},"5":{"name":"punctuation.separator.key-value.toml"}},"end":"(?<=\\\\S)(?<!=)|$","patterns":[{"include":"#primatives"}]},{"begin":"((')([^']*)('))\\\\s*(=)\\\\s*","captures":{"1":{"name":"variable.other.key.toml"},"2":{"name":"punctuation.definition.variable.begin.toml"},"4":{"name":"punctuation.definition.variable.end.toml"},"5":{"name":"punctuation.separator.key-value.toml"}},"end":"(?<=\\\\S)(?<!=)|$","patterns":[{"include":"#primatives"}]},{"begin":"(((?:[-0-9A-Z_a-z]+|\\"(?:[^\\"\\\\\\\\]|\\\\\\\\.)*\\"|'[^']*')(?:\\\\s*\\\\.\\\\s*|(?=\\\\s*=))){2,})\\\\s*(=)\\\\s*","captures":{"1":{"name":"variable.other.key.toml","patterns":[{"match":"\\\\.","name":"punctuation.separator.variable.toml"},{"captures":{"1":{"name":"punctuation.definition.variable.begin.toml"},"2":{"patterns":[{"match":"\\\\\\\\([\\"\\\\\\\\bfnrt]|u\\\\h{4}|U\\\\h{8})","name":"constant.character.escape.toml"},{"match":"\\\\\\\\[^\\"\\\\\\\\bfnrt]","name":"invalid.illegal.escape.toml"}]},"3":{"name":"punctuation.definition.variable.end.toml"}},"match":"(\\")((?:[^\\"\\\\\\\\]|\\\\\\\\.)*)(\\")"},{"captures":{"1":{"name":"punctuation.definition.variable.begin.toml"},"2":{"name":"punctuation.definition.variable.end.toml"}},"match":"(')[^']*(')"}]},"3":{"name":"punctuation.separator.key-value.toml"}},"end":"(?<=\\\\S)(?<!=)|$","patterns":[{"include":"#primatives"}]}]},"primatives":{"patterns":[{"begin":"\\\\G\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.toml"}},"end":"\\"{3,5}","endCaptures":{"0":{"name":"punctuation.definition.string.end.toml"}},"name":"string.quoted.triple.double.toml","patterns":[{"match":"\\\\\\\\([\\"\\\\\\\\bfnrt]|u\\\\h{4}|U\\\\h{8})","name":"constant.character.escape.toml"},{"match":"\\\\\\\\[^\\\\n\\"\\\\\\\\bfnrt]","name":"invalid.illegal.escape.toml"}]},{"begin":"\\\\G\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.toml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.toml"}},"name":"string.quoted.double.toml","patterns":[{"match":"\\\\\\\\([\\"\\\\\\\\bfnrt]|u\\\\h{4}|U\\\\h{8})","name":"constant.character.escape.toml"},{"match":"\\\\\\\\[^\\"\\\\\\\\bfnrt]","name":"invalid.illegal.escape.toml"}]},{"begin":"\\\\G'''","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.toml"}},"end":"'{3,5}","endCaptures":{"0":{"name":"punctuation.definition.string.end.toml"}},"name":"string.quoted.triple.single.toml"},{"begin":"\\\\G'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.toml"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.toml"}},"name":"string.quoted.single.toml"},{"match":"\\\\G[0-9]{4}-(0[1-9]|1[012])-(?!00|3[2-9])[0-3][0-9]([ Tt](?!2[5-9])[012][0-9]:[0-5][0-9]:(?!6[1-9])[0-6][0-9](\\\\.[0-9]+)?(Z|[-+](?!2[5-9])[012][0-9]:[0-5][0-9])?)?","name":"constant.other.date.toml"},{"match":"\\\\G(?!2[5-9])[012][0-9]:[0-5][0-9]:(?!6[1-9])[0-6][0-9](\\\\.[0-9]+)?","name":"constant.other.time.toml"},{"match":"\\\\G(true|false)","name":"constant.language.boolean.toml"},{"match":"\\\\G0x\\\\h(_??\\\\h)*","name":"constant.numeric.hex.toml"},{"match":"\\\\G0o[0-7]([0-7]|_[0-7])*","name":"constant.numeric.octal.toml"},{"match":"\\\\G0b[01]([01]|_[01])*","name":"constant.numeric.binary.toml"},{"match":"\\\\G[-+]?(inf|nan)","name":"constant.numeric.toml"},{"match":"\\\\G([-+]?(0|([1-9](([0-9]|_[0-9])+)?)))(?=[.Ee])(\\\\.([0-9](([0-9]|_[0-9])+)?))?([Ee]([-+]?[0-9](([0-9]|_[0-9])+)?))?","name":"constant.numeric.float.toml"},{"match":"\\\\G([-+]?(0|([1-9](([0-9]|_[0-9])+)?)))","name":"constant.numeric.integer.toml"},{"begin":"\\\\G\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.toml"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.array.end.toml"}},"name":"meta.array.toml","patterns":[{"begin":"(?=[\\"']|[-+]?[0-9]|[-+]?(inf|nan)|true|false|[\\\\[{])","end":",|(?=])","endCaptures":{"0":{"name":"punctuation.separator.array.toml"}},"patterns":[{"include":"#primatives"},{"include":"#comments"},{"include":"#invalid"}]},{"include":"#comments"},{"include":"#invalid"}]},{"begin":"\\\\G\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.inline-table.begin.toml"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.inline-table.end.toml"}},"name":"meta.inline-table.toml","patterns":[{"begin":"(?=\\\\S)","end":",|(?=})","endCaptures":{"0":{"name":"punctuation.separator.inline-table.toml"}},"patterns":[{"include":"#key_pair"}]},{"include":"#comments"}]}]}},"scopeName":"source.toml"}`)),e=[n];export{e as default};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-PWWOV7EH.mjs";import"./chunk-2V77MTNA.mjs";export{a as default};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-5C2LWUV4.mjs";import"./chunk-2V77MTNA.mjs";export{a as default};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-MRVVZS77.mjs";import"./chunk-AMPZKS45.mjs";import"./chunk-2V77MTNA.mjs";export{a as default};
@@ -0,0 +1 @@
1
+ import{a as e}from"./chunk-MRVVZS77.mjs";import"./chunk-AMPZKS45.mjs";import"./chunk-2V77MTNA.mjs";var n=Object.freeze(JSON.parse(`{"displayName":"XSL","name":"xsl","patterns":[{"begin":"(<)(xsl)((:))(template)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.namespace.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(>)","name":"meta.tag.xml.template","patterns":[{"captures":{"1":{"name":"entity.other.attribute-name.namespace.xml"},"2":{"name":"entity.other.attribute-name.xml"},"3":{"name":"punctuation.separator.namespace.xml"},"4":{"name":"entity.other.attribute-name.localname.xml"}},"match":" (?:([-0-9A-Z_a-z]+)((:)))?([-A-Za-z]+)"},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},{"include":"text.xml"}],"repository":{"doublequotedString":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.double.xml"},"singlequotedString":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.single.xml"}},"scopeName":"text.xml.xsl","embeddedLangs":["xml"]}`)),a=[...e,n];export{a as default};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-JU5ZB3NL.mjs";import"./chunk-2V77MTNA.mjs";export{a as default};
package/dist/cli.mjs ADDED
@@ -0,0 +1 @@
1
+ import{a,b}from"./chunks/chunk-H2IGYTRE.mjs";import"./chunks/chunk-OATTKKBP.mjs";import"./chunks/chunk-7YSHM6MG.mjs";import"./chunks/chunk-2V77MTNA.mjs";export{a as containedReader,b as runCli};
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ import{a as e,b as r,c as t}from"./chunks/chunk-OATTKKBP.mjs";import"./chunks/chunk-7YSHM6MG.mjs";import"./chunks/chunk-2V77MTNA.mjs";export{r as VERSION,t as renderDocument,e as themeNames};
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Reads images only from inside `root` (the document's folder): no absolute
3
+ * paths, no `..` out of it, no symlink that resolves outside it, image types only.
4
+ */
5
+ export declare function containedReader(root: string): (path: string) => {
6
+ bytes: Uint8Array<ArrayBuffer>;
7
+ mime: string;
8
+ } | undefined;
9
+ /**
10
+ * Runs the command with these arguments (no program name). Returns the exit
11
+ * code; output goes to stdout/stderr. `dogsbay render` in the dogsbay CLI calls
12
+ * this, so both commands are one implementation.
13
+ */
14
+ export declare function runCli(argv: string[]): Promise<number>;
@@ -0,0 +1,8 @@
1
+ export interface CssInput {
2
+ theme: string;
3
+ tokens?: string;
4
+ classes: Set<string>;
5
+ html: string;
6
+ }
7
+ export declare function themeNames(): string[];
8
+ export declare function pageCss(o: CssInput): Promise<string>;
@@ -0,0 +1,31 @@
1
+ import { type RenderReport, type Warn } from "./report.js";
2
+ /** The package version, set by scripts/bundle.mjs from package.json (the publish script bumps it there); "dev" from source. */
3
+ export declare const VERSION: string;
4
+ export interface RenderOptions {
5
+ /** Syntax highlighting with Shiki (loads @dogsbay/highlight). Default false: plain code. */
6
+ highlight?: boolean;
7
+ /** "mathml": KaTeX MathML (no fonts needed). Default false: LaTeX stays as source. */
8
+ math?: false | "mathml";
9
+ /** A theme preset (`default`, `mintlify`). */
10
+ theme?: string;
11
+ /** A token file (CSS custom properties on :root and .dark) applied over the preset. */
12
+ tokens?: string;
13
+ /** "auto": the scripts of the elements the page uses. "none": no script; tabs and accordions are shown open. */
14
+ js?: "auto" | "none";
15
+ /** Filter raw HTML and URLs for untrusted input. Default true. */
16
+ sanitize?: boolean;
17
+ /**
18
+ * Read a local image by the path written in the document. Return undefined
19
+ * when it does not exist or may not be read. Without it, local images are reported missing.
20
+ */
21
+ readAsset?: (path: string) => {
22
+ bytes: Uint8Array;
23
+ mime: string;
24
+ } | undefined;
25
+ }
26
+ export interface RenderResult {
27
+ html: string;
28
+ report: RenderReport;
29
+ }
30
+ export declare function renderDocument(markdown: string, options?: RenderOptions): Promise<RenderResult>;
31
+ export type { Warn };
@@ -0,0 +1,3 @@
1
+ export declare const TAILWIND: Record<string, string>;
2
+ export declare const CSS: Record<string, string>;
3
+ export declare const ELEMENTS: Record<string, string>;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @dogsbay/render: one Dogsbay Markdown document → one self-contained HTML page.
3
+ *
4
+ * import { renderDocument } from "@dogsbay/render";
5
+ * const { html, report } = await renderDocument(markdown, { theme: "default" });
6
+ *
7
+ * See README.md for options, the report's warning codes, and the security defaults.
8
+ */
9
+ export { renderDocument, VERSION, type RenderOptions, type RenderResult } from "./document.js";
10
+ export type { RenderReport, RenderWarning, WarningCode } from "./report.js";
11
+ export { themeNames } from "./css.js";
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The no-JavaScript form of the interactive components (`js: "none"`): content
3
+ * that only a script would reveal is shown instead, so nothing is hidden
4
+ * without the element scripts. Tabs become each panel under a bold label;
5
+ * accordion items become open details. (The print lowering for PDF and email
6
+ * will extend this; see plans/single-page-render.md.)
7
+ */
8
+ import type { TreeNode } from "@dogsbay/types";
9
+ export declare function lowerForStatic(nodes: TreeNode[]): TreeNode[];
@@ -0,0 +1,28 @@
1
+ /**
2
+ * The report a render returns: what it wrote and every loss, named. Agents act
3
+ * on `warnings[].code`; the codes and the shape are a contract (schemaVersion).
4
+ */
5
+ export type WarningCode = "link-unresolvable" | "anchor-missing" | "image-missing" | "image-remote" | "image-large" | "image-type" | "node-unsupported" | "icon-unknown" | "math-raw" | "diagram-raw" | "template-raw" | "tokens-external" | "html-sanitized" | "attribute-dropped" | "unsafe-url";
6
+ export interface RenderWarning {
7
+ code: WarningCode;
8
+ message: string;
9
+ }
10
+ export type Warn = (code: WarningCode, message: string) => void;
11
+ export interface RenderReport {
12
+ schemaVersion: 1;
13
+ warnings: RenderWarning[];
14
+ /** Sizes in bytes of the parts of the page. */
15
+ sizes: {
16
+ total: number;
17
+ css: number;
18
+ js: number;
19
+ body: number;
20
+ };
21
+ /** The custom elements the page uses, whose scripts it carries. */
22
+ elements: string[];
23
+ }
24
+ /** Collects warnings, once per distinct message. */
25
+ export declare function collector(): {
26
+ warn: Warn;
27
+ warnings: RenderWarning[];
28
+ };
@@ -0,0 +1,2 @@
1
+ /** The UI strings @dogsbay/render-html asks for (ctx.t), in English, as dogsbay-ssg's defaults. */
2
+ export declare const STRINGS: Record<string, string>;
package/package.json CHANGED
@@ -1,6 +1,55 @@
1
1
  {
2
2
  "name": "@dogsbay/render",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.2.0-beta.116",
4
+ "description": "Render one Dogsbay Markdown file to one self-contained HTML page: themed, light and dark, accessible, nothing external. A single bundled file with no dependencies, for people and agents (npx -y @dogsbay/render doc.md -o doc.html)",
5
+ "type": "module",
6
+ "main": "./dist/index.mjs",
7
+ "types": "./dist/types/index.d.ts",
8
+ "bin": {
9
+ "dogsbay-render": "./dist/bin.mjs"
10
+ },
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/types/index.d.ts",
14
+ "import": "./dist/index.mjs"
15
+ },
16
+ "./cli": {
17
+ "types": "./dist/types/cli.d.ts",
18
+ "import": "./dist/cli.mjs"
19
+ }
20
+ },
21
+ "files": [
22
+ "dist",
23
+ "skills",
24
+ "README.md"
25
+ ],
26
+ "engines": {
27
+ "node": ">=20"
28
+ },
29
+ "dependencies": {},
30
+ "devDependencies": {
31
+ "@types/node": "^22.20.1",
32
+ "esbuild": "^0.25.0",
33
+ "katex": "^0.16.47",
34
+ "tailwindcss": "4.3.2",
35
+ "typescript": "^5.9.3",
36
+ "vitest": "^4.1.10",
37
+ "@dogsbay/elements": "0.2.0-beta.116",
38
+ "@dogsbay/format-dogsbay-md": "0.2.0-beta.116",
39
+ "@dogsbay/highlight": "0.2.0-beta.116",
40
+ "@dogsbay/render-html": "0.2.0-beta.116",
41
+ "@dogsbay/types": "0.2.0-beta.116"
42
+ },
43
+ "license": "MIT",
44
+ "repository": {
45
+ "type": "git",
46
+ "url": "https://github.com/dogsbay/dogsbay.git",
47
+ "directory": "packages/render"
48
+ },
49
+ "scripts": {
50
+ "build": "node scripts/build-assets.mjs && tsc -p tsconfig.json && node scripts/bundle.mjs",
51
+ "test": "vitest run",
52
+ "test:watch": "vitest",
53
+ "typecheck": "node scripts/build-assets.mjs && tsc --noEmit -p tsconfig.json"
54
+ }
6
55
  }
@@ -0,0 +1,222 @@
1
+ ---
2
+ name: dogsbay-documents
3
+ description: Write a document (report, release notes, runbook, minutes, explainer, handout) as Dogsbay Markdown and render it to one self-contained HTML page with `npx -y @dogsbay/render`. Use instead of hand-writing HTML when the deliverable is a document someone reads, not an interactive app.
4
+ ---
5
+
6
+ # Documents in Dogsbay Markdown
7
+
8
+ Write Markdown with a few directives, then render it to one self-contained HTML file.
9
+ The renderer handles layout, typography, light and dark mode, phone layout, code
10
+ highlighting and accessibility. Write no HTML or CSS.
11
+
12
+ **Use it for** documents: status reports, release notes, runbooks, meeting minutes,
13
+ explainers, handouts. **Do not use it for** apps, dashboards with live data, games or
14
+ forms; write HTML for those.
15
+
16
+ ## Workflow
17
+
18
+ 1. Write `doc.md`, starting with front matter:
19
+ ```markdown
20
+ ---
21
+ title: Atlas migration status
22
+ description: Week 39 summary for the platform team.
23
+ ---
24
+ ```
25
+ The title becomes the page's H1 and the description its lede. Do not repeat the
26
+ title as a `# heading`; start the body at `##`.
27
+ 2. Render it (nothing to install; Node 20+):
28
+ ```bash
29
+ npx -y @dogsbay/render doc.md -o doc.html --highlight
30
+ ```
31
+ In a Dogsbay project, `dogsbay render` is the same command.
32
+ 3. Read the JSON report on stderr. `warnings` lists every problem, each with a `code`.
33
+ Fix the Markdown and render again until `warnings` is empty. The common codes:
34
+
35
+ | Code | Fix |
36
+ |---|---|
37
+ | `link-unresolvable` | use an absolute `https://` URL or an `#anchor` (a single page has no other pages) |
38
+ | `anchor-missing` | point `#…` at a heading that exists (`## Setup` is `#setup`) |
39
+ | `image-missing` / `image-remote` | put the image file next to `doc.md` and link it relatively |
40
+ | `icon-unknown` | use an icon from the list below |
41
+ | `node-unsupported` | use a directive from this skill |
42
+ | `template-raw` | write the value out; `{{ }}` and `{% %}` are not run |
43
+
44
+ Exit code 0 means the page was written (warnings or not); 1 is an error; 2 is a usage
45
+ error.
46
+
47
+ ## Text
48
+
49
+ Plain CommonMark and GFM:
50
+
51
+ - headings `##` to `####`, **bold**, *italic*, `code`, lists;
52
+ - tables, where `|--:|` right-aligns numbers;
53
+ - block quotes, `---`, and footnotes:
54
+
55
+ ```markdown
56
+ The cutover moved to 14 Nov.[^1]
57
+
58
+ [^1]: The events index needs 9 days, not 5.
59
+ ```
60
+
61
+ Rules for a single page:
62
+
63
+ - **Links must be absolute** (`https://…`, `mailto:`, `tel:`) or in-page anchors
64
+ (`#section`). A single page has no other pages, so `guide.md` or `/docs/x` is dead.
65
+ - **Images:** write `![Alt text](diagram.png)`, with the file next to the `.md`. The
66
+ image is embedded in the page. Always write alt text.
67
+ - **No task-list checkboxes** (`- [ ]`): they render as literal brackets. Use a table
68
+ with a status badge instead.
69
+ - **No raw HTML classes or styles.** The renderer drops `class`, `style` and event
70
+ attributes by default; the directives below give you the styling.
71
+
72
+ ## Callouts
73
+
74
+ ```markdown
75
+ > [!NOTE]
76
+ > Supplementary information.
77
+ ```
78
+
79
+ Types for `> [!TYPE]`: `NOTE`, `TIP`, `IMPORTANT`, `WARNING`, `CAUTION`. For a custom
80
+ title, or the types `success`, `danger` and `info`:
81
+
82
+ ```markdown
83
+ :::callout{type="danger" title="Data loss"}
84
+ Dropping the table deletes every row.
85
+ :::
86
+ ```
87
+
88
+ ## Badges and keys
89
+
90
+ ```markdown
91
+ :badge[Shipped]{variant="success"} :badge[Blocked]{variant="danger"} :badge[Beta]{variant="info"} :badge[Draft]{variant="secondary"}
92
+
93
+ Press :kbd[Ctrl+C].
94
+ ```
95
+
96
+ The variants are `default`, `secondary`, `outline`, `info`, `success`, `warning` and
97
+ `danger`. Use `variant=`; `tone=` is ignored. Badges work in table cells, which is the
98
+ way to show status per row.
99
+
100
+ ## Steps
101
+
102
+ ```markdown
103
+ :::steps
104
+ 1. **Stop the writer**
105
+ Run `systemctl stop app-writer`.
106
+
107
+ 2. **Promote the replica**
108
+ Run `pg_ctl promote -D /var/lib/pg`.
109
+ :::
110
+ ```
111
+
112
+ Each step is a number, a bold short title, then detail indented on the following lines.
113
+ The detail can be paragraphs, code blocks or callouts.
114
+
115
+ ## Tabs
116
+
117
+ Use tabs for alternatives the reader picks one of (languages, platforms). The label is a
118
+ term; the content is a definition, indented with `:` and three spaces:
119
+
120
+ ````markdown
121
+ :::tabs
122
+ macOS
123
+ : ```bash
124
+ brew install harbor
125
+ ```
126
+
127
+ Linux
128
+ : ```bash
129
+ curl -fsSL https://get.example.com | sh
130
+ ```
131
+ :::
132
+ ````
133
+
134
+ ## Cards and grids
135
+
136
+ Link cards (each needs an absolute link):
137
+
138
+ ```markdown
139
+ :::cards
140
+ - **[Runbook](https://wiki.example.com/runbook)** {icon="book"}
141
+ What to do when the alert fires.
142
+
143
+ - **[Dashboard](https://grafana.example.com/d/pg)** {icon="globe"}
144
+ Replica lag, last 24 hours.
145
+ :::
146
+ ```
147
+
148
+ A single card: `:::card{title="Pro plan" icon="rocket"}` … `:::`.
149
+
150
+ A grid of equal cells, for key numbers or side-by-side content. Separate the cells with
151
+ a blank line:
152
+
153
+ ```markdown
154
+ :::grid{cols="3" gap="4"}
155
+
156
+ **98.2%**
157
+ Uptime
158
+
159
+ **412 ms**
160
+ p95 latency
161
+
162
+ **3**
163
+ Open incidents
164
+
165
+ :::
166
+ ```
167
+
168
+ The icons that exist: `info`, `lightbulb`, `alert-triangle`, `alert-octagon`,
169
+ `circle-check`, `circle-x`, `circle-help`, `bug`, `file-text`, `quote`,
170
+ `flask-conical`, `flame`, `check`, `search`, `external-link`, `link`, `rocket`,
171
+ `book`, `globe`, `git-branch`, `list-tree`, `printer`. Use them on cards.
172
+
173
+ ## Collapsible detail
174
+
175
+ ```markdown
176
+ :::details{title="Full error log"}
177
+ Content shown when the reader expands it.
178
+ :::
179
+ ```
180
+
181
+ ## Code
182
+
183
+ Always give the language. A title adds a header bar:
184
+
185
+ ````markdown
186
+ ```yaml title="harbor.yml"
187
+ registry: ghcr.io/acme
188
+ ```
189
+ ````
190
+
191
+ Code gets a copy button automatically. Pass `--highlight` to colour it.
192
+
193
+ ## Nesting
194
+
195
+ When a directive contains another, the outer fence needs more colons:
196
+
197
+ ```markdown
198
+ ::::steps
199
+ 1. **Check the lag**
200
+ :::warning
201
+ Above 30 s, page the on-call DBA.
202
+ :::
203
+ ::::
204
+ ```
205
+
206
+ ## Not available in a single page
207
+
208
+ Some things stay as source code:
209
+
210
+ - Mermaid diagrams;
211
+ - math, unless you pass `--math mathml`.
212
+
213
+ The renderer warns about each of these; rewrite rather than ignore the warning. The
214
+ callout types are exactly the five above: `> [!DANGER]` is not one, and stays a plain
215
+ quote with no warning.
216
+
217
+ ## Writing guidance
218
+
219
+ - Lead with what the reader needs: the status, the decision, the action.
220
+ - Use a table for anything with more than two attributes per item.
221
+ - One callout per real warning; a page of callouts reads as noise.
222
+ - Keep every fact from the source material; do not invent numbers.