The clitorides voting is open until the end of April. Vote for your favourites [ X Dismiss ]
Home « Forum « Author Hangout

Forum: Author Hangout

Formatting Question

Maclir

I am having some trouble with text tagging. What I want to have is a section of text with:

1) Monospaced font - I can use the {tt} {/tt} tags. Are these only 'inline', or can I have them span multiple paragraphs?

2) How do I stop a single "*" or "_" being consumed and bolding or italicising the text?

3) How can I preserve multiple spaces?

I'm sure I'm just missing something obvious.

Ernest Bywater

@Maclir

https://storiesonline.net/doc/Text_Formatting_Information_Guide#tags

without the extra spaces - bold is { b } { / b } or { strong } { / strong }and italics is { i } { / i } or { em } { / em } - there are different multi- paragraph tags for these, see the link above.

make sure to check it with the previewing page link on the page.

I'm pretty sure you can't have multiple spaces, as such, but you can fake it with things like - - - or . . . .

Replies:   awnlee jawking
awnlee jawking

@Ernest Bywater

Also Lazeez made a recent change to the formatting code:

I added escaping specifically to the underscore and asterisk if ever they need to be ignored.

So now, in text if you use * or _ (backslash+asterisk) or (backslash+underscore) the result would be the removal of the backslash leaving the asterisk or underscore untouched.

So you would need to write the formula like so: 50*50*3.14


AJ

Lazeez Jiddan (Webmaster)

@Maclir

1) Monospaced font - I can use the {tt} {/tt} tags. Are these only 'inline', or can I have them span multiple paragraphs?


Inline only.

2) How do I stop a single "*" or "_" being consumed and bolding or italicising the text?


You can escape them with \* or \_

3) How can I preserve multiple spaces?


Can't. Waste of bandwidth and visually unappealing.

Back to Top