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.1.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.1-py3-none-any.whl (329.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: instaui_shiki-0.5.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6f47c03cae3aa53614e76f3c0dd2d878b1bfca22803c25b8420f7342dc3d39e0
MD5 5ae49ae8cfa2f9f9df6b2ea4a78fda74
BLAKE2b-256 75dc2503f93dd8be842453c9fe6825d093e2166d8c4c9c07cb059a2fc65dad89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for instaui_shiki-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba55c222e31f5a7e55780ae6d54bb4328a9bc47f313835bd8fa2b0752f4aac9a
MD5 12a301f175cbe93b5fb27b3dfd5e78d5
BLAKE2b-256 9c827157d36ba1c27df7b0d4b6efc4d0f6853459cc476124044d4613c98bc61f

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