Home ยป Forum ยป Author Hangout

Forum: Author Hangout

Formatting previewer

Lazeez Jiddan (Webmaster)

For authors that use it, it's finally updated for the first time since 2011.

I've redone it from the ground up. New interface and new functionality. It even supports lists ({+} and {n} tags).

for those who don't know about it, it's linked from the site formatting guide.

https://storiesonline.net/author/formatPreviewer.php

Diamond Porter ๐Ÿšซ

@Lazeez Jiddan (Webmaster)

Thank you!

Pixy ๐Ÿšซ

@Lazeez Jiddan (Webmaster)

There was (is) a previewer? LOL. Every day is a school day...

Michael Loucks ๐Ÿšซ

@Lazeez Jiddan (Webmaster)

When I paste in text using _ for italic text, it does not show italics. The colors work.

Lazeez Jiddan (Webmaster)

@Michael Loucks

Fixed.

Replies:   Michael Loucks
Michael Loucks ๐Ÿšซ

@Lazeez Jiddan (Webmaster)

Fixed.

Thanks, as always, for the quick work!

Gauthier ๐Ÿšซ
Updated:

@Lazeez Jiddan (Webmaster)

The undocumented feature

{divbbub}blue bubble{/div}
{divgbub}green bubble{/div}

doesn't seems to work.

Lazeez Jiddan (Webmaster)
Updated:

@Gauthier

I added official support for Messaging bubbles.

I added buttons for them in the formatting previewer, and explained them in the documentation.

I've updated the syntax to {blbub}{/blbub} {grbub}{/grbub}

I also added support for backslashing asterisks and underscores to keep them untouched. So now \*hello\* will not be converted to < strong>hello< /strong> the backslashes will be removed and the asterisks will remain like *hello*, same for underscores \_not italic\_ will come out _not italic_.

Also, removed support for the outdated {str} {strike} and replaced it with the standard {s}.

Thank you for the bug report.

Well, this has turned into more than ever planned. With the addition of the blue and green bubbles buttons, it has become a formatting helper. So I added a 'Copy to Clipboard' button to copy the formatted text into the clipboard to transfer it to the file you're submitting.

Replies:   Michael Loucks
Michael Loucks ๐Ÿšซ

@Lazeez Jiddan (Webmaster)

Excellent! Thank you SO much!

fasteddiecoder ๐Ÿšซ

@Lazeez Jiddan (Webmaster)

These discussions got me to look at the formatting guide https://storiesonline.net/doc/Text_Formatting_Information_Guide#tags and I noticed several errors in the examples. Several examples demonstrate color text red, blue etc. The examples do not show the correct colors. Also the example of teletype text does not show teletype text. Not a big deal but I thought you would want to know. Thanks for all your work

Lazeez Jiddan (Webmaster)

@fasteddiecoder

The examples do not show the correct colors.

Color accuracy really depends on too many factors. Screen color calibration is a tricky business.

The colors are close enough to be called those names.

Also the example of teletype text does not show teletype text.

That one is correct. I fixed it and now it shows in monospaced text.

Gauthier ๐Ÿšซ

@Lazeez Jiddan (Webmaster)

I can't believe something like:
n *b _ib* in_ n _i *ib_ bn* n
and

i

ib

b


actually works. (markdown would throw a fit)
Nice work :)

How about preview of dark mode and mobile?
It would probably require iframe to vary the css, I'm not sure it's worth the hassle.

Lazeez Jiddan (Webmaster)

@Gauthier

How about preview of dark mode and mobile?

Considering how each user gets to set their own colors and screen width etc.. through the system, dark mode and mobile views for story text is not worth the effort.

Gauthier ๐Ÿšซ
Updated:

@Lazeez Jiddan (Webmaster)

nesting bug?

The documentation claim the tags MUST be nested.
The previwer however doesn't have this requirement. It auto close and reopen the tag as needed and generate proper nested html preview from non nesting one!

Is it also the case of your php code?
If not, should you issue a warning on non nested tags?

(recursive regex could catch that with a one liner but PRCE ?R is not available in javascript)

Lazeez Jiddan (Webmaster)

@Gauthier

Is it also the case of your php code?
If not, should you issue a warning on non nested tags?

There are multiple layers that ensure that the html codes are properly nested. So it's not really a worry.

Back to Top

 

WARNING! ADULT CONTENT...

Storiesonline is for adult entertainment only. By accessing this site you declare that you are of legal age and that you agree with our Terms of Service and Privacy Policy.


Log In