Tiki Central 2.0 - The Beta / Bugs
Line breaks (not a bug)
Pages: 1 12 replies
K
kevincrossman
Posted
posted
on
Thu, Mar 17, 2022 6:30 PM
How can I get single line breaks (like this post: https://tikicentral.com/viewpost.php?post_id=799978) Now all I can do is to a blank line in between. Which doesn't look good at all for recipes. For example: 2 oz rum 1 oz Lime Juice .5 oz Simple Syrup I tried Shift+return and that didn't seem to work (I'm on Safari 14.1.2 Mac) [ Edited by leevigraham on 2022-03-18 23:06:51 ] |
3
3vab
Posted
posted
on
Thu, Mar 17, 2022 6:49 PM
-- [ Edited by 3vab on 2022-09-25 11:20:25 ] |
L
leevigraham
Posted
posted
on
Thu, Mar 17, 2022 7:12 PM
in reply to kevincrossman
Here's a little reference we put together: https://tikicentral.com/markdown.php I'll add line breaks to the page. In general a list will be better for ingredients. [ Edited by leevigraham on 2022-03-17 21:07:18 ] |
L
leevigraham
Posted
posted
on
Fri, Mar 18, 2022 3:41 AM
in reply to kevincrossman
Added line breaks to the markdown document: https://tikicentral.com/markdown.php |
K
kevincrossman
Posted
posted
on
Fri, Mar 18, 2022 8:15 AM
I don't think I'm asking for too much so that everything is single spaced when you use a carriage return in these text boxes in the forum. If people want to have space between paragraphs they can use two carriage returns. That's the common format on all these old forums but also FB etc. [ Edited by leevigraham on 2022-03-18 15:26:00 ] [ Edited by leevigraham on 2022-03-18 15:26:58 ] |
H
hanford_lemoore
Posted
posted
on
Fri, Mar 18, 2022 1:29 PM
in reply to kevincrossman
We hear you.
It is significantly easier than the old system off BBCode. In BBCode, to do bold, you had to do [b]bold text[/b] whereas in markdown you just put double asterisks around items.
It's noted, but please just keep in mind that:
We're listening to members who want old functionality back, just be aware that it might be a while (and ngl possibly never) to get to it, and in the mean time, you have other easy solutions that you get you 90% of the way there. If you put a dash and a space (- ) in front of each line you'll get this:
Not ideal for drinks, but a close enough solution until we can do better. [ Edited by hanford_lemoore on 2022-03-18 13:35:03 ] |
L
leevigraham
Posted
posted
on
Fri, Mar 18, 2022 3:14 PM
in reply to kevincrossman
Correct… but he didn't use BBCode to create line breaks either. Tiki Central v1 had a custom form for collecting location information.
Markdown is the exact solution for human beings. It feels natural to write and read (unformatted). Sure you might need to learn some small markup syntax for bold and italic but that's not a big ask when you need it. I've built an image uploader so that you don't need to remember how to do that or copy and paste like Tiki Central v1. URLs are automatically turned into links. For the majority of posts you won't even need markup. Compare that to
I agree it would be good if a single carriage return was a single line break. However that's not part of the markdown spec… and is not implemented in any parsers / formatters. If you must add line breaks and don't want to use the In regards to formatting recipes… using a list is the correct way of doing it. It's semantically correct and provides the accessibility hints for those using screen readers: https://webaim.org/techniques/semanticstructure/#lists [ Edited by leevigraham on 2022-03-18 15:17:43 ] |
K
kevincrossman
Posted
posted
on
Fri, Mar 18, 2022 3:23 PM
Fair enough then. i'd urge you to consider posting this to the FAQ because I do think it's not just merely a list thing but single line breaks are really what most other forum/social tools do. |
M
mikehooker
Posted
posted
on
Fri, Mar 18, 2022 9:11 PM
I just made my first post making a list of ingredients and was very confused as to why line breaks weren’t occurring. So I guess I gotta double space after each line? I guess I’ll try it here…. 1 oz fresh lime juice Or maybe I misunderstood cuz when I double space it adds a period that I then have to go back and erase and then double space again. So the other solution is to \ to make a line break? [edit: maybe I’m an idiot but the slash didn’t work. Double spacing did. But silly to have to remove the periods. Note, that’s happening when typing on my phone since it’s a shortcut. Obviously wouldn’t happen on the computer.] [ Edited by mikehooker on 2022-03-18 21:14:13 ] [ Edited by leevigraham on 2022-03-18 23:06:07 ] |
3
3vab
Posted
posted
on
Fri, Mar 18, 2022 9:34 PM
in reply to mikehooker
-- [ Edited by 3vab on 2022-09-25 11:19:55 ] |
M
mikehooker
Posted
posted
on
Fri, Mar 18, 2022 9:39 PM
in reply to 3vab
K. I’m dumb. I get it now. |
L
leevigraham
Posted
posted
on
Fri, Mar 18, 2022 11:04 PM
in reply to mikehooker
For anyone else:
Renders as: 1 oz fresh lime juice [ Edited by leevigraham on 2022-03-18 23:05:04 ] [ Edited by leevigraham on 2022-03-18 23:05:18 ] |
K
kevincrossman
Posted
posted
on
Sat, Mar 19, 2022 9:30 AM
I missed the point about two spaces afterwards. That'll work. |
Pages: 1 12 replies