Skip to main content

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

Project description

Ihroteka Converter

License Python PyPI Release

Semantic_Release Imports Ruff mypy

Tests Linters Release Codecov

Downloads Stars

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.

Installation

Proceed by installing the tool and running it:

pip install -U ihroteka-converter

uv add ihroteka-converter

Examples

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.1.3.tar.gz (145.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.1.3-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ihroteka_converter-1.1.3.tar.gz
  • Upload date:
  • Size: 145.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for ihroteka_converter-1.1.3.tar.gz
Algorithm Hash digest
SHA256 b1e33501aa79539aadbfd585561aee6e93e09e157e01fe9f27bd99045ed1dbba
MD5 30ae77b8e85004fa920b8f1e551b8d06
BLAKE2b-256 81e71d28896fd4710b06ebf875646071283e8076617846f3c23c2c65a2a84df9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ihroteka_converter-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a36789fc7470fc1f6ae0bb0c8c2eeac698792f803c7059dcba880fb6b7b02062
MD5 d3d636fbd1e5cd34fdf863f0014da63b
BLAKE2b-256 2c9029ce41b14391f1e14fcd3134430b4a56fefeea14b8b69525116c8519ca02

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