|
1 | | -# Steam Markup Generator |
2 | | - |
3 | | -A lightweight rich-text editor that enables you to format text using Steam's [custom markup tags](https://steamcommunity.com/comment/Recommendation/formattinghelp), providing a live preview of the formatted content. |
4 | | - |
5 | | -## Features |
6 | | - |
7 | | -- Basic text formatting options like **bold**, *italic*, underline, and strikethrough. |
8 | | -- Headers, horizontal rules, and code blocks support. |
9 | | -- Add quotations with authors and embed spoilers. |
10 | | -- Keyboard shortcuts for quick formatting. |
11 | | - |
12 | | -## Usage |
13 | | - |
14 | | -1. Type or paste the text you want to format into the editor. |
15 | | -2. Use the buttons above the editor or keyboard shortcuts to apply formatting. |
16 | | -3. See the live preview below the editor to check how your content looks. |
17 | | - |
18 | | -## Keyboard Shortcuts |
19 | | - |
20 | | -- **Bold**: Ctrl + B |
21 | | -- **Italic**: Ctrl + I |
22 | | -- **Underline**: Ctrl + U |
23 | | -- **Strike**: Ctrl + Shift + X |
24 | | -- **Header**: Ctrl + Shift + H |
25 | | -- **URL**: Ctrl + K |
26 | | - |
27 | | -## Planned Features |
28 | | -- [x] Local storage saving to prevent progress loss |
29 | | -- [x] URL support |
30 | | -- [ ] Add remaining buttons |
31 | | -- [ ] More keybinds |
32 | | -- [ ] Markdown to Steam Markup converter |
33 | | - |
34 | | -## Feedback |
35 | | - |
36 | | -This is a beta version of the editor. If you encounter any issues or have suggestions for improvements, please [open an issue](https://github.com/bijx/Steam-Markup-Generator/issues). |
37 | | - |
38 | | -## License |
39 | | - |
40 | | -This project is licensed under the MIT License. See the `LICENSE` file for more details. |
41 | | - |
| 1 | +# Steam Markup Editor (Редактор разметки Steam) |
| 2 | +Легковесный редактор разметки steam с визуализацией. Редактор поддерживает комбинации клавиш и много чего другого. |
| 3 | +На данный момент реализованы теги: |
| 4 | +- Хедеры (Ctrl + 1,2,3) |
| 5 | +- Жирный текст (Ctrl + B) |
| 6 | +- Подчеркнутый (Ctrl + U) |
| 7 | +- Курсив (Ctrl + I) |
| 8 | +- Зачеркнутый (Ctrl + S) |
| 9 | +- Спойлер |
| 10 | +- Сырой текст (Noparse) |
| 11 | +- Горизонтальный разделитель |
| 12 | +- Формат кода |
| 13 | + |
| 14 | +Проектом давно не занимался и работы еще много. В плане, реализовать: |
| 15 | +- Url, вставка ссылок |
| 16 | +- Маркированный списки |
| 17 | +- Нумерованные списки |
| 18 | +- Цитаты |
| 19 | +- Таблицы |
| 20 | + |
| 21 | +Также в процессе буду фиксить ошибки и баги, которые встречу |
| 22 | + |
| 23 | +# Быстрый старт |
| 24 | +Проект можно опробовать следующим образом |
| 25 | + |
| 26 | +Клонируем репозиторий |
| 27 | +```bash |
| 28 | +mkdir steam-markup-editor |
| 29 | +cd steam-markup-editor |
| 30 | +git clone https://github.com/NickDemiman/Steam-Markup-Editor.git . |
| 31 | +``` |
| 32 | + |
| 33 | +## Сервер Next.js |
| 34 | +Устанавливаем зависимости |
| 35 | +```bash |
| 36 | +npm ci |
| 37 | +``` |
| 38 | + |
| 39 | +Запускаем билд и сервим приложение |
| 40 | +```bash |
| 41 | +npm run build |
| 42 | +npm start |
| 43 | +``` |
| 44 | + |
| 45 | +## Docker образ |
| 46 | +Для запуска, достаточно собрать и запустить |
| 47 | +```bash |
| 48 | +docker build -t editor . |
| 49 | +docker run -it --rm -p 8000:8000 editor:latest |
| 50 | +``` |
| 51 | + |
| 52 | +Либо запулить образ и запустить |
| 53 | +```bash |
| 54 | +docker pull ghcr.io/nickdemiman/steam-markup-editor |
| 55 | +docker run -it --rm -p 8000:8000 ghcr.io/nickdemiman/steam-markup-editor |
| 56 | +``` |
0 commit comments