Example scripts and texts
1. Example scripts
If the project is cloned, use can find the examples in the ./examples folder. Use the following command to run an example script:
pythom -m examples.markdown_to_bbcode
where markdown_to_bbcode is the example script name. It can be replaced by other scripts offered in the following list:
markdown_to_bbcode | A minimal example converting Markdown to BBCode. |
bbcode_table_to_list | An example of loading a BBCode file, and convert the tables inside it to lists. |
bbcode_achievements | Download achievement information of a game and save it as a BBCode list. |
save_description_of_a_game | Save the "about the game" section of a Steam app as an HTML file. |
download_screenshots | Download all official screenshots of a game and create thumbnails of them. |
download_a_guide | Fetch a Steam guide and save it as a BBCode file. |
create_a_title_figure | Customize a figure-based title. Such title images can be inserted into the Steam guide. |
create_logo | Render the title bar of this readme file. |
render_latex_equations | Render a LaTeX equation as an image. |
search_font | Search the font by name, and use the searched font to render an image. |
composer_list | Generate examples for each image composer, and gather the results as an image. |
effect_list | Show the performance of all image layer effects in an image. |
2. Example texts
The following two guides are written with the help of this tool. Check them for viewing the details:
| Reviews | Link |
|---|---|
| 女装百合岚 (in new style) | |
| Slay the Spire (in old style) |
| Guide | Link |
|---|---|
| 此后,勇者学会了后验概率 | |
| 《海猫鸣泣之时·出题篇》解(伪) |
The following article is also rendered by this package:
| Article | Link |
|---|---|
| Steam Editor Tools: Help You Write Guides and Reviews | |
| Steam Editor Tools: 帮助你撰写评测和指南 |