Skip to content

Does Ink support text formatting, e.g. bold/italics? #832

Closed Answered by Selsynn
hola-estif asked this question in Writing in ink
Discussion options

You must be logged in to vote

Ink is mostly about the game logic and what text to change. How you display it is up to yourself, because it will be technology dependant.
If you are doing a webgame with the inkjs framework. I do believe you can use HTML markup.

For example

<strong>Once</strong> <em>upon</em> <b>a</b> time...

 * There were two choices.
 * There were four lines of content.

- They lived happily ever after.
    -> END

Gives that result

So it seems the b for bold tag does not reflect as in Inky.
but you can use Em for emphasis (italic) and strong for more bold font.

If you have whole paragraph with that style, I would advise to use the class system. (like it's explained in the Custom CSS classes here ht…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hola-estif
Comment options

Answer selected by hola-estif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants