diff options
Diffstat (limited to 'libstorycode/storycode.y')
-rw-r--r-- | libstorycode/storycode.y | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libstorycode/storycode.y b/libstorycode/storycode.y index daf2504..19d9b1f 100644 --- a/libstorycode/storycode.y +++ b/libstorycode/storycode.y @@ -243,6 +243,8 @@ text_line: text_run: RUN_TEXT { $$.text = $1; $$.type = NARRATIVE_RUN_NORMAL; } | '*' RUN_TEXT '*' { $$.text = $2; $$.type = NARRATIVE_RUN_BOLD; } +| '/' RUN_TEXT '/' { $$.text = $2; $$.type = NARRATIVE_RUN_ITALIC; } +| '_' RUN_TEXT '_' { $$.text = $2; $$.type = NARRATIVE_RUN_UNDERLINE; } /* -------- Slide -------- */ |