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.3.tar.gz (324.8 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.3-py3-none-any.whl (330.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for instaui_shiki-0.5.3.tar.gz
Algorithm Hash digest
SHA256 726a753652fdfc1a907494d5c863ed2e251535bc8fc71d25d7a2cd5cc65c626a
MD5 81d7b4dd5fb95d01097d58d5383886b8
BLAKE2b-256 33899a025c6c350486cd094a8dfb291b9006c10bd328751fe8227004491c32c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for instaui_shiki-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1d99dec849cf4a78eb352ab92952b6f6aac26c0807d0593846f71cbc548785f3
MD5 d575ecf76d36f393a1066c039659e679
BLAKE2b-256 3f140c2947be38695f3aac0ae2599f9c32818fe538881c673f613546caaaaf01

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