nberlette/shikey

TODO: add support for MDC syntax (see @nuxt/content)

開放

#2 建立於 2022年6月7日

 (0 則留言) (0 個反應) (1 位負責人)TypeScript (0 個分叉)auto 404
enhancementgood first issue

倉庫指標

星標
 (0 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

This requires an additional layer to the build step.

  1. check if mdc.tmLanguage.json exists; if yes then skip to step 5 step 4.
  2. pull the latest mdc.tmLanguage.json file from @nuxt/content
  3. write file into dist/assets/languages directory
  4. ensure the resource exists in the asset/import map (assets.ts)
  5. ...finish the remaining parts of build step

Note: See the MDC official TextMate language definition file: https://github.com/nuxt/content/blob/main/src/runtime/assets/mdc.tmLanguage.json

貢獻者指南