Page 1 of 1
Any BBCode indent?
Posted: Fri Aug 17, 2018 2:06 pm
by TimFun13
Does anyone have a good way to just indent with BBCode, list works but the spacing and bulletin point are off putting to me. An HTML non-breakable space doesn't work, can't use HTML. The best I could come up with was background colored text, but any style changes would suck and CSS modding browser extensions would be a issue.
[Link]
Post
Re: Any BBCode indent?
Posted: Fri Aug 17, 2018 5:30 pm
by STN
ShyTwig16 wrote: ↑Fri Aug 17, 2018 2:06 pm
Does anyone have a good way to just indent with BBCode, list works but the spacing and bulletin point are off putting to me. An HTML non-breakable space doesn't work, can't use HTML. The best I could come up with was background colored text, but any style changes would suck and CSS modding browser extensions would be a issue.
[Link]
Post
HTML should have never been allowed, it's a huge security as you must know.
I am pretty sure this can be done through bbcode. You can make bbcode replacements for almost every html tag. I'll do it once i get a breather from porting tables.
Re: Any BBCode indent?
Posted: Sat Aug 18, 2018 8:19 pm
by Deepthroat
Preformatted Text is what you looking for, is currently not working on this Forum though.
STN can add it through the Custom BBCodes section,
[Link]
Re: Any BBCode indent?
Posted: Sat Aug 18, 2018 8:33 pm
by Dark❶
STN wrote: ↑Fri Aug 17, 2018 5:30 pm
ShyTwig16 wrote: ↑Fri Aug 17, 2018 2:06 pm
Does anyone have a good way to just indent with BBCode, list works but the spacing and bulletin point are off putting to me. An HTML non-breakable space doesn't work, can't use HTML. The best I could come up with was background colored text, but any style changes would suck and CSS modding browser extensions would be a issue.
[Link]
Post
HTML should have never been allowed, it's a huge security as you must know.
I am pretty sure this can be done through bbcode. You can make bbcode replacements for almost every html tag. I'll do it once i get a breather from porting tables.
You might want to use ABBC3 :
[Link] &
[Link]
so that @ShyTwig16 can use "Preformatted text" ie "[pre][/pre]" BBCode, & use space to indent.
BTW it's also stable.
Just Helping,
Best regards
Re: Any BBCode indent?
Posted: Sat Aug 18, 2018 9:54 pm
by STN
ShyTwig16 wrote: ↑Fri Aug 17, 2018 2:06 pm
Does anyone have a good way to just indent with BBCode, list works but the spacing and bulletin point are off putting to me. An HTML non-breakable space doesn't work, can't use HTML. The best I could come up with was background colored text, but any style changes would suck and CSS modding browser extensions would be a issue.
[Link]
Post
Added. Not entirely sure if this is what you wanted.
Re: Any BBCode indent?
Posted: Sat Aug 18, 2018 10:23 pm
by TimFun13
STN wrote: ↑Sat Aug 18, 2018 9:54 pm
...
Added. Not entirely sure if this is what you wanted.
[Link]
That works if I add spaces, but I feel it should just be "pre", since it converts to a PRE tag. "indent" seems like it should just set a margin or padding of a SPAN element to fake the indent and allow nesting of the tags inside lists and what not; at least it seemed to work that way with XF2.
Re: Any BBCode indent?
Posted: Sat Aug 18, 2018 10:26 pm
by STN
Oh, i just named it indent so you don't have to replace the post.
Re: Any BBCode indent?
Posted: Sat Aug 18, 2018 10:31 pm
by TimFun13
I'd have to add the spaces any way, and with Sublime Text it goes pretty quickly either way.
Re: Any BBCode indent?
Posted: Sat Aug 18, 2018 10:50 pm
by TimFun13
Sweet, so now no padding characters needed.
[Link]
- test
test indent 1
test indent 2
test indent 3
And it can be nested inside lists.