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.6.1.tar.gz (325.7 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.6.1-py3-none-any.whl (332.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for instaui_shiki-0.6.1.tar.gz
Algorithm Hash digest
SHA256 a623c5cf92c55cd327154353ff839e8c08161c1873c88033c5f9687978c32800
MD5 09b82a11b7f4f83493da9e42af950f2e
BLAKE2b-256 5c8f35dca7c691c1ef4e2615fe47653393eb90ce4515994aa1cccd6ed93a0961

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for instaui_shiki-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8802403a816c797f1001d5f1daea33dd5829d0691c8c471851f8c6a37a0a9235
MD5 c36e2ae726f7816af2af835728a9b903
BLAKE2b-256 ff39eb36ec15503b7b35cb6c351aeddf752763a9def9492f2c9d37686539b0b1

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