Edited online
parent
3c94dc2e0b
commit
8620eba9ef
6
Guide.md
6
Guide.md
|
@ -1,14 +1,16 @@
|
|||
# [English guide] Usage
|
||||
## emphasis module
|
||||
|
||||
This module lets you ditch `txtb` and `txtem` functions in the game main code. Вместо них используется простой синтаксис выделения текста, скопированный из Markdown. Вместо сложного `pn "Привет"..txtem("Игрок")` вы можете написать просто `pn "Привет *Игрок*"`.
|
||||
This module lets you ditch `txtb` and `txtem` functions in the game main code. Compare: `pn "Hi"..txtem("Player")` and `pn "Hi *Player*"`.
|
||||
|
||||
**Usage:**
|
||||
|
||||
**bold** or __bold__
|
||||
*italic* или __italic__
|
||||
|
||||
Просто подключите `require "emphasis"` и пользуйтесь этими короткими сокращениями. Модуль подключает модуль `format`.
|
||||
Just write `require "emphasis"` and use these shortcuts. Module requires `format` module automatically.
|
||||
|
||||
WARNING: shortcuts don't work in inventory.
|
||||
|
||||
## choice module
|
||||
|
||||
|
|
Loading…
Reference in a new issue