Help with forum post formatting?
Lately I have been reformatting my TinyCards repository post so it looks nicer and more organized. It's mostly been going without a hitch, until I made the Northern Sámi alphabet deck and added it there. This is what it looks like:
As you can see, there is a large space between Sámi and Northern. (I sorted it like this so I can potentially add other Sámi languages in the future.) The source code of the Sámi section is:
However, today I added Albanian using the exact same formatting as Sámi, and here's what it looks like:
The Albanian section looks exactly like I wanted Sámi to look. (It's sorted like this since I plan to add Gheg Albanian to the section.) The source code for the Albanian section is here:
It's identical to the Sámi format, yet it produces the result I actually want. Why is the Sámi formatting glitched out? Is this just one of the bad things about Markdown? I would really appreciate some help with this. If you need more info, please ask.
Edit: The first lines of each section have a double space after them. Markdown won't show this in highlighting for some reason.
Edit: I give up trying to fix the formatting shown here. The source code of the whole post can be found here. Look at the Albanian and Sámi sections.
First off, the double space at the end of the line isn't necessary if the line that follows it is a nested list item. ...Not that this helps fix your problem in any way at all, but just saying. :P
I actually know exactly what is causing it! And I've thought of several cunning ways to make Sámi appear the way it was intended. ^^
None of the ways I've thought of so far really make it look perfect, but I'll explain some of them.
The absolute easiest way to fix it would be to simply put Sámi as the first in the list (before Hungarian) and then delete the blank line inbetween it and the Hungarian list item:
Northern Sámi Alphabet
Uralic Set (Hungarian, Finnish, Estonian, Northern Sámi)
Days of the Week and Months
I can see how that likely isn't a desirable solution though. ^^;
So here's another option... If you delete all the blank lines between the list items, then the list items won't have any gaps between them. This won't look good, but it will sort out the gap that appears before your nested list item too.
Once you've done this, simply add two hard line breaks after each list item where you want gaps to be inserted. This will add a second line to each of your list items, which will be a blank line. The only problem is that these gaps might be a slightly different size to the standard ones between the other list items in your post. Here is what the finished result should look like:
Northern Sámi Alphabet
- Uralic Set (Hungarian, Finnish, Estonian, Northern Sámi)
Days of the Week and Months
You'll probably have more questions now though, like how I added two hard line breaks... (If you simply try adding a double space, pressing enter, and then add a double space on the new line, then you'll find it treats this as a paragraph rather than the two line breaks this idea needs.) :D
Edit: Here's the text for inserting a hard line break ...
This is great! I would appreciate it if you could provide the source code for the second solution you listed. I'm also curious - what makes my Sámi code work when it's after the header, but not in the middle of the list? I imagine either way the double space issue you described would create a paragraph and break the format.
Also enjoy some lingots for your work! :]
Added what you need to type to make a hard line break, in an edit at the very bottom of my last post. Just add two of those at the end of the lines instead of using double spaces, and don't put any blank lines in between the list elements. ^^
I tried what you did and now it's treating the asterisks like bold markers... I have a feeling I must've done something super wrong. Here's my Markdown code...
There's four spaces after the Sámi, which I think is being treated like line breaks, when I really want it to mark a nested list.
I don't have any answers - just test cases I would try...
Have you tried replacing the á with a. I don't mean as a solution - just as a way of diagnosing the problem.
Also it's icon appears taller. Is it? Perhaps replace with a smaller one as a test.
And the name is short - perhaps add some extra characters on the end: Sámionion or whatever.
I did some testing of my thread in Simplenote and it turns out Duolingo's Markdown code is faulty.
Simplenote's Markdown code shows my Sámi code to be correct. Perhaps it's an issue on Duolingo's end.
Edit: Turns out it's still faulty. I need help!!!
Sorry, I was in a rush when I posted yesterday and didn't have time to post the full code. I'm posting it in this new comment because it would be harder to read in an indented reply.
* !(https://i.imgur.com/AoNKSkD.png) Hungarian◌◌
* !(https://i.imgur.com/AyReveK.png) Finnish◌◌
* !(https://i.imgur.com/5xAaKlx.png) Estonian◌◌
* !(https://i.imgur.com/fmXPFec.png) Sámi
[Northern Sámi Alphabet](https://tinyurl.com/sme-abc)
* !(https://i.imgur.com/AoNKSkD.png)!(https://i.imgur.com/AyReveK.png)!(https://i.imgur.com/5xAaKlx.png)!(https://i.imgur.com/fmXPFec.png) Uralic Set (Hungarian, Finnish, Estonian, Northern Sámi)◌◌
[Days of the Week and Months](http://tinyurl.com/hfen-abc)
- Replace each and every ◌ symbol with a space.
- ◌◌ = double space (the normal way to insert a line break)
- ◌◌◌◌ = quadruple space (to make a nested list)
- Double spaces aren't necessary anywhere else other than where I've shown to use them.
- The numbers 1-12 show the line numbers, to make it clear what needs to be on separate lines and to make it clear no blank lines should be inbetween them. (Without word wrap on, this Markdown code should take up exactly 12 lines.)
I was going to use a screenshot of the code like you did, as it would be easier to read that way, but I like to explain things as precisely as possible. This way hopefully shows exactly where all the [br], double-spaces, and new lines are. ^^
Thank you so much for your help! The problem has been solved. I left a shoutout to you in the thread. (If you don't want to be mentioned there, just ask.)
I'd only tested it in comments, where things such as font size and spacing are different compared to when posting a new thread. I wasn't sure whether it was going to look alright. Glad to see it has worked well in your thread post. ^^