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.5.0.tar.gz (324.4 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.5.0-py3-none-any.whl (329.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for instaui_shiki-0.5.0.tar.gz
Algorithm Hash digest
SHA256 1bae816e618defcb8715ac74e629bbf31352769297f9ee8406ac71758e571e06
MD5 c04720f973b783291d165978a65671b4
BLAKE2b-256 efacaf4988688213904b6ff7375c8ae93182d36c17ed556c140fa504eac5fc36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for instaui_shiki-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 617103d72f2df37a7085e9e3757027e069ea6707cae2db8de2c6c7360a37b475
MD5 6b7b5029eee2830d2f8db27f2c6aff84
BLAKE2b-256 8ec389dc62a8a197a5e012e668485dbe76d525562b7ecdd82c599826188e27ed

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