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.4.tar.gz (325.1 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.4-py3-none-any.whl (330.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for instaui_shiki-0.5.4.tar.gz
Algorithm Hash digest
SHA256 430848c7e4b428aeff7fdfcf555fdea031e6d7b589393bd6c9a98d031d421014
MD5 994390fba09ca81239b0ad93dbb43e8f
BLAKE2b-256 d9f84fb2ebca4066dfce40de91f5485e6acd1dc8035f30ca8482479cc0791e3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for instaui_shiki-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1e286b512c55d7cdca8fe9da40c29c9b70dd44d033a1868a5521d25a2cd70e06
MD5 d2e138eb35dacb299efa89d08579abdf
BLAKE2b-256 bc14824881b5e4a5958fd1dc0370ab675906b74f62e92c36f96b817db4cd5666

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