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

Uploaded Python 3

File details

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

File metadata

  • Download URL: instaui_shiki-0.6.2.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.2.tar.gz
Algorithm Hash digest
SHA256 f9766a3d6dcf77e4dcd0484712aee3f806dd4c9499a71d5a83bb8aa73c13b3d1
MD5 430bfe835127d0129f7a5670d7263d97
BLAKE2b-256 838f30e34272a279de5590e4eba6ee034e9570ca18b4b93162b54f95d61cfa3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for instaui_shiki-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0c26902e1dc3d362849669d7332de0324bece0c9f4734a6af31cc4dbf6199156
MD5 2d83fb3feb99aaefef63fed102237c43
BLAKE2b-256 ee197012ac8c252ec255352679de4ceabac2fadf3e7744ae96033e8e0616d3a4

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