Skip to main content

A Python package for instaui-shiki.

Project description

instaui-shiki

English| 简体中文

📖 Introduction

instaui-shiki is a Python library for syntax highlighting code snippets in the browser using Shiki.

⚙️ Installation

pip install instaui-shiki

🖥️ Usage

from instaui import ui
from instaui_shiki import shiki

@ui.page("/")
def test_page():
    shiki("print('foo')")


ui.server(debug=True).run()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

instaui_shiki-0.4.0.tar.gz (324.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

instaui_shiki-0.4.0-py3-none-any.whl (329.4 kB view details)

Uploaded Python 3

File details

Details for the file instaui_shiki-0.4.0.tar.gz.

File metadata

  • Download URL: instaui_shiki-0.4.0.tar.gz
  • Upload date:
  • Size: 324.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.17

File hashes

Hashes for instaui_shiki-0.4.0.tar.gz
Algorithm Hash digest
SHA256 b7272ce3044843bd2209044599bf5106d58a0a25c66a07708260786176fda00e
MD5 9713f26c2ff935071263d47b531f9c9d
BLAKE2b-256 2a15edc1c021eb70e9f2a9dc16fc462fbea8fdbe24aa14d5e4d28a0be997f50a

See more details on using hashes here.

File details

Details for the file instaui_shiki-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for instaui_shiki-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff2e89388000afe789352ae633c3756b27768fe10b6abbf4991857c194cfe25b
MD5 cc383aacf83c204644ec98709445381a
BLAKE2b-256 0fbf5bc1c8e1468baaf37fd39cf66184946faf98c06c407ac7582f7c70163a7f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page