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.8.0.tar.gz (327.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.8.0-py3-none-any.whl (334.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: instaui_shiki-0.8.0.tar.gz
  • Upload date:
  • Size: 327.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for instaui_shiki-0.8.0.tar.gz
Algorithm Hash digest
SHA256 937e6efbf527b3d59bbead87fa3f56a670e93239477925a91b1d4188c1ddfee3
MD5 c4675374fdc409706e4017f7a6d3dc37
BLAKE2b-256 5d24e1b87577c73a9a08b528da0f25603f306f03fb2147dcd8eaf308e331c766

See more details on using hashes here.

File details

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

File metadata

  • Download URL: instaui_shiki-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 334.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for instaui_shiki-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 180efd0e899da7f0063d156de1432a89563f4848babe6fa5aab4a028a52014ee
MD5 125b84a62aee86c4ca25fbd339208a19
BLAKE2b-256 ad4823bd6c559a4d525d45eeef115df70d9bc3bfdf37404e16a15533f6e1386b

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