Skip to content

Commit

Permalink
More formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
britzl committed Feb 26, 2018
1 parent 42b0767 commit 8f78e40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ The RichText library will create gui text nodes representing the markup in the t
### richtext.create(text, settings)
Creates rich text gui nodes from a text containing markup.

*** PARAMETERS ***
**PARAMETERS**
* `text` (string) - The text to create rich text from
* `font` (string) - Name of default font. Must match the name of a font in the gui scene.
* `settings` (table) - Optional table containing settings
Expand All @@ -102,5 +102,5 @@ The `settings` table can contain the following values:
* `parent` (node) - GUI nodes will be attached to this node if specified.
* `fonts` (table) - Table with fonts, keyed on font name. Each entry should be a table with mappings to fonts for different font styles. Accepted keys are `regular`, `italic`, `bold`, `bold_italic`.

*** RETURNS ***
**RETURNS**
* `nodes` (table) - A table with all the gui text nodes used to create the text

0 comments on commit 8f78e40

Please sign in to comment.