Page 1 of 2 [ 17 posts ]  Go to page 1, 2  Next

Fenn
Veteran
Veteran

User avatar

Joined: 1 Sep 2014
Gender: Male
Posts: 2,458
Location: Pennsylvania

18 Mar 2022, 6:31 pm

Ok - sometimes I want to do something a bit unusual with the Wrongplanet BBCode.

There is some BBCode documentation (here)

But it doesn't doesn't cover everything.

For example - how do you escape a square bracket? This works:

Code:
[b][[/b]b[b]][/b]

Displays as

[b]


Code:
[color=black][[/color]b[color=black]][/color]

Displays as

[b]

This is a place to post "BBCode in-Frequently Asked Questions" - and hopefully answers.


_________________
ADHD-I(diagnosed) ASD-HF(diagnosed)
RDOS scores - Aspie score 131/200 - neurotypical score 69/200 - very likely Aspie


Fenn
Veteran
Veteran

User avatar

Joined: 1 Sep 2014
Gender: Male
Posts: 2,458
Location: Pennsylvania

21 Mar 2022, 9:15 am

How do i insert a space at the beginning of a line?

One way is to insert a unicode U+2003. How to do this is specific to your device or your operating system. I just got it working on my iPhone using the UniK app / third party keyboard.

Code:
This text is not indented
(U+2003)This text is indented


Looks like this

This text is not indented
 This text is indented


_________________
ADHD-I(diagnosed) ASD-HF(diagnosed)
RDOS scores - Aspie score 131/200 - neurotypical score 69/200 - very likely Aspie


Last edited by Fenn on 21 Mar 2022, 9:17 am, edited 1 time in total.

Fnord
Veteran
Veteran

User avatar

Joined: 6 May 2008
Age: 67
Gender: Male
Posts: 59,822
Location: Stendec

21 Mar 2022, 9:17 am

[This works too!]

 ←So does this (ALT + 255).

Looks like this:

This text is not indented.
    This text is indented.

And you do not need the "CODE" command.



Mikah
Veteran
Veteran

User avatar

Joined: 23 Oct 2015
Age: 36
Posts: 3,201
Location: England

21 Mar 2022, 4:29 pm

Question: A poster is annoying me, how can I get revenge?

Answer: Apply the fade and blur tags to your response. Congratulations, you have just given them a migraine!


_________________
Behold! we are not bound for ever to the circles of the world, and beyond them is more than memory, Farewell!


Fenn
Veteran
Veteran

User avatar

Joined: 1 Sep 2014
Gender: Male
Posts: 2,458
Location: Pennsylvania

22 Mar 2022, 8:05 am

Fnord wrote:
[This works too!]

 ←So does this (ALT + 255).

Looks like this:

This text is not indented.
    This text is indented.

And you do not need the "CODE" command.


Cool - looked that one up:

ALT 255
No-break space, non-breaking space, nbsp
U+00A0

Should mention that the ALT (decimal digits) is a Microsoft Windows thing and doesn't work on iPhone or MacOS.

More details on alt codes and how to use them on Windows here:

https://altcodeunicode.com/

On MacOS unicode can be used with certain steps:

https://www.webnots.com/how-to-use-unic ... od-in-mac/

On iPhone the UniK (not free) keyboard can be added from the App Store

https://apple.stackexchange.com/questio ... the-iphone

As mentioned above Alt 255 is 00A0 in Unicode.


_________________
ADHD-I(diagnosed) ASD-HF(diagnosed)
RDOS scores - Aspie score 131/200 - neurotypical score 69/200 - very likely Aspie


Fenn
Veteran
Veteran

User avatar

Joined: 1 Sep 2014
Gender: Male
Posts: 2,458
Location: Pennsylvania

04 Apr 2022, 8:05 am

Android and Unicode:

Apparently on Android there is an app:

Character Pad - Unicode

Also PolyglotKeyboard or Keyman

3rd party on-screen-keyboards might help -

I am not an Android user so some Wrongplanet Android user might be able to give mode details.

Not all Android fonts support all Unicode Characters.

Android is usually programmed in Java and the Java default character type is a 16-bit unsigned integer - utf-16 might be used as the internal type? (Utf-8 uses 1 to 4 8-bit bytes per character. UTF-32 uses 32-bit characters.)


_________________
ADHD-I(diagnosed) ASD-HF(diagnosed)
RDOS scores - Aspie score 131/200 - neurotypical score 69/200 - very likely Aspie


Mikah
Veteran
Veteran

User avatar

Joined: 23 Oct 2015
Age: 36
Posts: 3,201
Location: England

12 Apr 2022, 1:25 pm

Fenn wrote:
How do i insert a space at the beginning of a line?

One way is to insert a unicode U+2003. How to do this is specific to your device or your operating system. I just got it working on my iPhone using the UniK app / third party keyboard.

Code:
This text is not indented
(U+2003)This text is indented


Looks like this

This text is not indented
 This text is indented


Another way to insert gaps at the beginning of a line is to use the [tab=xx] tag.

Code:
[tab=50]Looks like this.
While...
[tab=100]Looks like this.

Looks like this.
While...
Looks like this.


_________________
Behold! we are not bound for ever to the circles of the world, and beyond them is more than memory, Farewell!


Fenn
Veteran
Veteran

User avatar

Joined: 1 Sep 2014
Gender: Male
Posts: 2,458
Location: Pennsylvania

16 Apr 2022, 4:36 pm

^cool, I did not know that tag worked here! I double checked and it is not in the BBcode Guide page.


_________________
ADHD-I(diagnosed) ASD-HF(diagnosed)
RDOS scores - Aspie score 131/200 - neurotypical score 69/200 - very likely Aspie


Fenn
Veteran
Veteran

User avatar

Joined: 1 Sep 2014
Gender: Male
Posts: 2,458
Location: Pennsylvania

24 Oct 2022, 12:56 pm

Bullet points can be cut and pasted from this stackoverflow post in to any post on wrongplanet (and combined with tab).

stackoverflow - what would be the unicode character for big bullet?

OR

alt-codes.net - Bullet Codes

Code:

[tab=20] ● [url=https://stackoverflow.com/questions/12971187/what-would-be-the-unicode-character-for-big-bullet-in-the-middle-of-the-characte][b][u]stackoverflow - what would be the unicode character for big bullet?[/u][/b][/url]

OR

[tab=20] ● [url=https://www.alt-codes.net/bullet_alt_codes.php][b][u]alt-codes.net - Bullet Codes[/u][/b][/url]


_________________
ADHD-I(diagnosed) ASD-HF(diagnosed)
RDOS scores - Aspie score 131/200 - neurotypical score 69/200 - very likely Aspie


Fenn
Veteran
Veteran

User avatar

Joined: 1 Sep 2014
Gender: Male
Posts: 2,458
Location: Pennsylvania

24 Oct 2022, 1:15 pm

You can also use the HTML entity by using this web site:

w3schools.com - HTML TryIt - Try HTML Intro

For example I can add the following code in the left pane . . .

Code:
<p>AAA&#x25CF;BBB</p>


. . . then use the "Run >" button.

I then see the "BLACK CIRCLE" Unicode Character in the right pane.

I can then cut it (from the right pane) and paste it into a WorngPlanet post.

See Also:

Wikipedia - List of XML and HTML character entity references


_________________
ADHD-I(diagnosed) ASD-HF(diagnosed)
RDOS scores - Aspie score 131/200 - neurotypical score 69/200 - very likely Aspie


Fenn
Veteran
Veteran

User avatar

Joined: 1 Sep 2014
Gender: Male
Posts: 2,458
Location: Pennsylvania

24 Oct 2022, 2:03 pm

webnots.com - 100 Most Popular Emoji Symbols


_________________
ADHD-I(diagnosed) ASD-HF(diagnosed)
RDOS scores - Aspie score 131/200 - neurotypical score 69/200 - very likely Aspie


Fenn
Veteran
Veteran

User avatar

Joined: 1 Sep 2014
Gender: Male
Posts: 2,458
Location: Pennsylvania

24 Oct 2022, 2:32 pm

Try some of these:
(try combining them with BBCode [ c o d e ] and [ / c o d e ] )

wikipedia.org - Box-drawing character
wikipedia.org - Block Elements
wikipedia.org - Geometric Shapes (Unicode block)
wikipedia.org - Dingbat
wikipedia.org - Mathematical operators and symbols in Unicode

wikipedia.org - Unicode symbols

wikipedia.org - Monospaced_font
wikipedia.org - BBCode
wrongplanet.net - BBCode


_________________
ADHD-I(diagnosed) ASD-HF(diagnosed)
RDOS scores - Aspie score 131/200 - neurotypical score 69/200 - very likely Aspie


RetroGamer87
Veteran
Veteran

User avatar

Joined: 30 Jul 2013
Age: 36
Gender: Male
Posts: 10,969
Location: Adelaide, Australia

03 Sep 2023, 5:19 am

Sorry to reserect a dead topic but why don't lists work?

Code:
[list]
[*]Red
[*]Blue
[*]Yellow
[/list]

gives me

  • Red
  • Blue
  • Yellow

Code:
[list=1]
[*]Go to the shops
[*]Buy a new computer
[*]Swear at computer when it crashes
[/list]

gives me

  1. Go to the shops
  2. Buy a new computer
  3. Swear at computer when it crashes

Code:
[list=a]
[*]The first possible answer
[*]The second possible answer
[*]The third possible answer
[/list]

gives me

  1. The first possible answer
  2. The second possible answer
  3. The third possible answer

I get no bullet points, no numbers and no letters.


_________________
The days are long, but the years are short


Cornflake
Administrator
Administrator

User avatar

Joined: 30 Oct 2010
Gender: Male
Posts: 65,656
Location: Over there

03 Sep 2023, 8:54 am

Fixed - erm, I think.

It works for me in preview but that may be due to having admin permissions - please try it again.

Those BBCodes have also been added to the edit post menu.


_________________
Giraffe: a ruminant with a view.


RetroGamer87
Veteran
Veteran

User avatar

Joined: 30 Jul 2013
Age: 36
Gender: Male
Posts: 10,969
Location: Adelaide, Australia

03 Sep 2023, 8:56 am

Ok, let me try again.

Code:
[list]
[*]Red
[*]Blue
[*]Yellow
[/list]

gives me

  • Red
  • Blue
  • Yellow

Code:
[list=1]
[*]Go to the shops
[*]Buy a new computer
[*]Swear at computer when it crashes
[/list]

gives me

  1. Go to the shops
  2. Buy a new computer
  3. Swear at computer when it crashes

Code:
[list=a]
[*]The first possible answer
[*]The second possible answer
[*]The third possible answer
[/list]

gives me

  1. The first possible answer
  2. The second possible answer
  3. The third possible answer

Ok, it's still not working.

It also worked for me in preview mode but not when I submitted it.


_________________
The days are long, but the years are short


Cornflake
Administrator
Administrator

User avatar

Joined: 30 Oct 2010
Gender: Male
Posts: 65,656
Location: Over there

03 Sep 2023, 9:02 am

Blast... :|

Below this post's edit window, as I typed it, I can see your posts - all displaying correctly.

As with yours - when I preview this post, the list below displays correctly -

  • First
  • Second
  • Third

But it doesn't in the final post.

:scratch: There's something weird going on above my pay grade - I'll let Alex know.


_________________
Giraffe: a ruminant with a view.