BBCode Wishlist

Any feedback to improve the content of this site is appreciated!
Post Reply
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

BBCode Wishlist

Post by muntoo » 08 Oct 2010, 02:48

Hey administrators, look at this.

If you have any wishes for BBCodes, please post them here!
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit

muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: BBCode Wishlist

Post by muntoo » 08 Oct 2010, 02:52

One of the wishes is to add support for custom code tags, like "".
I have suggested possible ways to attain this HERE.
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit

mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: BBCode Wishlist

Post by mightor » 08 Oct 2010, 06:08

There is a way for us to add new BBCodes but there is no way for us to add new addons or mods that allow syntax highlighting the way that some of those really nice plugins can.

- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)

HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: BBCode Wishlist

Post by HaWe » 08 Oct 2010, 17:40

can we add support for displaying math formulas?
http://en.wikipedia.org/wiki/Help:Displaying_a_formula

e.g. space inserted between "[" and ";"

Code: Select all

 //space inserted between "[" and ";"
[ ;\frac{d}{dx}x^2 = 2 \cdot x;]
[ ;\sum;]
[ ;x^2;]
[ ;\prod_{i=1}^k p_i = p_1 \cdot p_2 \cdot p_3 ... \cdot p_i;]
[ ;\frac{x^5+9} {\sqrt[n-2]{y^5+74}};]
[;\frac{d}{dx}x^2 = 2 \cdot x;]
[;\sum;]
[;x^2;]
[;\prod_{i=1}^k p_i = p_1 \cdot p_2 \cdot p_3 ... \cdot p_i;]
[;\frac{x^5+9} {\sqrt[n-2]{y^5+74}};]
Last edited by HaWe on 08 Oct 2010, 19:58, edited 5 times in total.

mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: BBCode Wishlist

Post by mightor » 08 Oct 2010, 19:00

If you make it work then I'm happy to add it. This looks like a lot of work, tbh.

- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)

HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: BBCode Wishlist

Post by HaWe » 08 Oct 2010, 19:51

I have no idea how to do it on the forum (in the administration control panel)

- the FF client approach by Greasemonkey works though
install this FF addon: https://addons.mozilla.org/de/firefox/addon/748

activate it by this java script: http://thewe.net/tex/textheworld6.user.js

[;\frac{d}{dx}x^2 = 2 \cdot x;]
Last edited by HaWe on 08 Oct 2010, 20:47, edited 1 time in total.

HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: BBCode Wishlist

Post by HaWe » 08 Oct 2010, 20:21

ps:
I found this - a script and a plotter: http://www.matheboard.de/thread.php?threadid=17175

does anybody know how to define a BBcode for this, e.g.
[;\prod_{i=1}^k p_i = p_1 \cdot p_2 \cdot p_3 ... \cdot p_i;] =>
Formula

sebi-mylegopage
Posts: 16
Joined: 29 Sep 2010, 13:47
Location: Germany
Contact:

Re: BBCode Wishlist

Post by sebi-mylegopage » 09 Oct 2010, 09:49

I think you must

Code: Select all

[math]{IDENTIFIER}[/math]
replace with

Code: Select all

<img src="http://www.matheboard.de/latex2png/latex2png.php?{IDENTIFIER}" alt="Formel">
(In BB-Codes Admin-Control Panel)
<img src="http://www.matheboard.de/latex2png/late ... cdot%20p_i" alt="Formel">

schodet
Posts: 139
Joined: 29 Sep 2010, 11:21
Contact:

Re: BBCode Wishlist

Post by schodet » 09 Oct 2010, 09:57

sebi-mylegopage wrote:

Code: Select all

<img src="http://www.matheboard.de/latex2png/latex2png.php?{IDENTIFIER}" alt="Formel">
I am not sure they will appreciate this. Unless they actually permit it, you are stealing bandwidth and server resources.
LEGO things http://ni.fr.eu.org/lego/ - NXT Improved Firmware (GCC) http://nxt-firmware.ni.fr.eu.org/ - Other robots http://apbteam.org

HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: BBCode Wishlist

Post by HaWe » 09 Oct 2010, 10:15

naaah - what do you mean by
"stealing bandwidth and server resources" ?!?
we are looking for a way to implement LaTex - have you got a better idea?!?

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests