Bold, italic, inset
When posting a comment, how does one make some words bold or in italics, and how does one indent a paragraph?
As others have pointed out, duolingo essentially uses a subset of markdown. A place where people might have encountered comment formatting using markdown before is on reddit.
The main omission from the syntax set on duolingo is not being able to do inline links. There are obvious good reasons for not having that here. Also, you can't use any markdown formatting when commenting on your own or another's stream.
One last thing on a eulogistic note. One of the co-creators of markdown was Aaron Swartz, who was a talented programmer and did a lot to open up access to information and culture (especially books) on the internet. His ideals were similar to the ones professed by duolingo (free learning made available to the global population). Sadly, he was very aggressively prosecuted by the US government over an incident that occurred on Harvard campus while he was a research fellow there. He was facing very harsh penalties for what could only be described as a possible abuse of access privileges and, in the face of this injustice, ended up taking his own life before the case went to trial early this year.
Surround text with single asterisks to italicize, double asterisks to bold.
shows up like:
italic text bolded text
There isn't currently a way to only indent the first line of a paragraph, but you can indent an entire "section" by prefacing it with
> , which will show up like:
depending on what you're trying to accomplish.
Okay, tests done, let's list:<h1>A single hashtag makes a title</h1>
Two hashtags make a smaller title
Three make it even smaller
Four goes quite fat
What does five do?
On the sixth day of hastags
- An asterisk followed by a space
- Makes a bullet
An asterisk before and after the text you want to be cursive
Two for bold
A closing pointy bracket at the beginning makes a nice quotation
And four spaces for fancy code</pre>
backticks are also nice for code
- Numbers are very straight-forward
- Just the number followed by a dot on a new line
Two times enter for a new paragraph
But two times space
for just a new line
a list of reasons why you should be thanked
Well, because I learned something new.
And I'm faat.
But there's more:
Hash browns are awesome
- Do you know how
- Much I learned from this?
And I think I look so sophisticated now
And I feel very bold and confident
And I feel sophisticated, bold AND confident now.<pre>
Fancy fancy fancy fancy</pre>
pink is awesome you know...
- I love this
- It's entertaining
- I learned a lot
- I'm putting my skills into practice
- And I look epic
but I feel like shuffling to the right now
And I want to start afresh
Like the freshness