nberlette/shikey

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

オープン

#2 opened on 2022/06/07

 (0 件のコメント) (0 件のリアクション) (1 人の担当者)TypeScript (0 件のフォーク)auto 404
enhancementgood first issue

Repository metrics

Stars
 (0 個のスター)
PR merge metrics
 (30d に merged 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

コントリビューターガイド