Skip to main content

A lightweight package for converting Markdown into Steam-compatible markup.

Project description

Ihroteka Converter

License Python PyPI CI Ruff StandWithUkraine

Overview

A lightweight package for converting Markdown into Steam-compatible markup.

About the name

Ihroteka (pronounced [ee-hroh-teh-kah]) is a Ukrainian word formed from "hra" (game) and "teka" (a place of keeping, an archive). It evokes the image of a living library of games - a space where experiences are gathered, preserved, and given structure.

Features

  • Zero runtime dependencies
  • Headings (#######) → [h1][h6]
  • Bold, italic, strikethrough, inline code
  • Links and images → [url] / [img]
  • Ordered and unordered lists (nested)
  • Blockquotes (nested)
  • Fenced and indented code blocks → [code]
  • Horizontal rules → [hr][/hr]

Installation

Proceed by installing the tool and running it:

pip install -U ihroteka-converter

uv add ihroteka-converter

Usage

from ihroteka_converter import convert

md_text = """
# My Game Guide

Welcome to the **best** game ever!

## Features

- Easy to learn
- *Beautiful* graphics
- ~~Microtransactions~~ Free to play!

Check out the [wiki](https://example.com) for tips.
"""

steam_text = convert(md_text)
print(steam_text)

# [h1]My Game Guide[/h1]

# Welcome to the [b]best[/b] game ever!

# [h2]Features[/h2]

# [list]
# [*] Easy to learn
# [*] [i]Beautiful[/i] graphics
# [*] [strike]Microtransactions[/strike] Free to play!
# [/list]

# Check out the [url=https://example.com]wiki[/url] for tips.

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

ihroteka_converter-1.2.3.tar.gz (47.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ihroteka_converter-1.2.3-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file ihroteka_converter-1.2.3.tar.gz.

File metadata

  • Download URL: ihroteka_converter-1.2.3.tar.gz
  • Upload date:
  • Size: 47.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ihroteka_converter-1.2.3.tar.gz
Algorithm Hash digest
SHA256 11c0d60af6318423e0ddb10ebf2e9396cc2293f108dcd633d693a8757e862536
MD5 e3581162835e2c466914be64f120a66e
BLAKE2b-256 20967e9d5d9293fcdcc2b16296855a1cf1e5c3c4fea8547d791030d7c8a30e0f

See more details on using hashes here.

File details

Details for the file ihroteka_converter-1.2.3-py3-none-any.whl.

File metadata

  • Download URL: ihroteka_converter-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ihroteka_converter-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6bd100518135a59f59fe8cb4849b1f97f4a5f2b08eb8762f20bbf1eaa501fd09
MD5 64cfc9c10eeb3b92f05345c010199bcc
BLAKE2b-256 68932a544b86c6a845c9ac1f05c369fa1c28c28d34a312c8806b0371822b46b8

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