Goonstation Forums
[Feature] More Formatting Tags for Paper - Printable Version

+- Goonstation Forums (https://forum.ss13.co)
+-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6)
+--- Forum: Patches (https://forum.ss13.co/forumdisplay.php?fid=30)
+---- Forum: Implemented (https://forum.ss13.co/forumdisplay.php?fid=31)
+---- Thread: [Feature] More Formatting Tags for Paper (/showthread.php?tid=7167)



[Feature] More Formatting Tags for Paper - CameronWoof - 10-04-2016

This patch adds headings, horizontal rules, blockquotes and bulleted lists to the sanitized formatting section. 

It also cleans up the appearance of paper; paper you name is no longer "paper - thingyounamedit" but just "'thingyounamedit'" instead. The baby quotes are still there so that you know it's a paper titled something.

https://github.com/CameronWoof/Cameron-GoonStation510/commit/e4664623e78870347ca9b2e0edb3079016821ef6

EDIT: added blockquote


RE: [Feature] More Formatting Tags for Paper - medsal15 - 10-05-2016

Oh, nice patch.


RE: [Feature] More Formatting Tags for Paper - atamusvaleo - 10-05-2016

If this gets implemented can the wiki be updated as well?


RE: [Feature] More Formatting Tags for Paper - CameronWoof - 10-05-2016

(10-05-2016, 09:18 AM)atamusvaleo Wrote: If this gets implemented can the wiki be updated as well?

I would do so/attempt to do so, yes.


RE: [Feature] More Formatting Tags for Paper - Nnystyxx - 10-05-2016

Good stuff! Do merge.


RE: [Feature] More Formatting Tags for Paper - Wire - 10-06-2016

Patch on hold after a discussion in IRC about the in-efficient over-use of replacetext() and my subsequent promise to code a bbcode/markdown parser datum as a result.

Sidenote: why do I keep promising to do these things fuck