QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: FellippeHeitor on February 25, 2020, 01:21:56 pm
-
To adapt to QB64's new $NOPREFIX (https://qb64.org/wiki/$NOPREFIX) mode, the forum now also allows you to post code without the leading underscore prefix on keywords and still have them properly syntax-highlighted.
To do so, either select QB64 $NOPREFIX in the 'Code' selection box:
[ This attachment cannot be displayed inline in 'Print Page' view ]
Or manually edit the code box to change 'qb64' into 'qb64np':
[ This attachment cannot be displayed inline in 'Print Page' view ]
That will result in a code box that will properly treat QB64's keywords both with and without the prefix the same way, with proper coloring and linking to the Wiki.
[ This attachment cannot be displayed inline in 'Print Page' view ]
-
Cool! As for the other options in the menu, is there one that's unformatted altogether? Just verbatim text for things like text file contents (in place of DATA) and such.
-
Just use the regular [code]your code[/code] as before, to result in:
your code
I couldn't add a "non-formatted" option to the list.