Skip to content

pivoshenko/ihroteka-converter

Ihroteka Converter

License Python PyPI CI Coverage 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.

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.

About

🗃️ A lightweight package for converting Markdown into Steam-compatible markup

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors