Skip to content

total-typescript/shiki-service

Repository files navigation

Shiki Service

This service provides an API to produce shiki-twoslash html for a given code snippet.

API

POST /v1/

Request

{
  "code": "const a = 1",
  "lang": "ts",
  "meta": "twoslash", // optional
  "theme": "github-dark" // optional
}

Response

Responds with html string.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published