Skip to main content

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

Project description

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.

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.0.tar.gz (146.3 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.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ihroteka_converter-1.1.0.tar.gz
Algorithm Hash digest
SHA256 f45c8fe2e3843dfbbcfafc549c60530fb7cb2f1b8414e425e22b8cf2b8ac3563
MD5 262e00bb4a8e64b20d455140270118e5
BLAKE2b-256 893f9df1573a5405c1d4fc528ed6f9a8351d241d4877622ca57ba2870d8593fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ihroteka_converter-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30cf69a116627a1315a149afea2f2e05f5ba4625b84db3f82c962a20af149588
MD5 20bf2355c4307a10486dcbf41273ed66
BLAKE2b-256 e1300787e6fb524d33ecf712c649f1588675917d9cc85b38d556969608f6a2a6

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