Formatting on the Forums
-
ruario last edited by
You bastard! 1, you edited my comment and didn't indicate it'd been edited!
No I was testing. It is back exactly as it was.
Putting Markdown links within `` (code tags) does occasionally seem to trigger "oddness" where the interpretter tries to do you a favour by escaping but it is quite a corner case. Just use
<
and>
in this specific case.In fact, whenever you find things tricky you can just use HTML. That is one of the nice things about Markdown. Just can use HTML directly. In fact you could use it for all your posts.
-
A Former User last edited by
Just use < and > in this specific case.
What do you mean - how to use it? And why?
In my "<
kbd>
" there weren't anygt
s! -
ruario last edited by admin
Frankly, this is one of the big gripes I have with Markdown
So just write your entire posts in HTML.
P.S. I corrected https://forums.opera.com/post/59149 for you
-
A Former User last edited by
In fact, whenever you find things tricky you can just use HTML. That is one of the nice things about Markdown. Just can use HTML directly. In fact you could use it for all your posts.
Wrong!
If you read the previous pages here, you'd figure out that all of the HTML 'coding' elements have already been tested - they do not work as one could hope them to. -
A Former User last edited by
Reload. That specific example took some doing!
I ain't gonna learn all those character "codes" by heart. Even if I knew how or where one would need them*:P*
-
blackbird71 last edited by admin
...
P.S. I corrected https://forums.opera.com/post/59149 for youThank you!
-
A Former User last edited by
@joshl Not in my experience. I use "<kbd>" in many of posts for example.
You use - I test*:P*
Yourour kbd doesn't kbd everything (in Russian it sounded much funnier). -
ruario last edited by
@joshl Since you obviously like this kind of thing, I would make sure you read the entire syntax page, rather than the basics page we link to below (assuming you haven't already done this).
The syntax page, explains the corner cases and details of embedding HTML more completely.
-
A Former User last edited by
Ruario, by the way, can I use some "character encoder" or something?
I saw you just use those "labada" replacements*:)* -
A Former User last edited by
Ruario, would you please stop *@*ing me? I'm the starter of this thread, so I get "nots" anyway.
-
ruario last edited by
can I use some "character encoder" or something?
Is this what you are looking for?
http://dev.w3.org/html5/html-author/charref
P.S. I didn't know you actually received a notification. I don't perhaps because I am an employee or some other weirdness with my account.
-
A Former User last edited by
@joshl Since you obviously like this kind of thing, I would make sure you read the entire syntax page, rather than the basics page we link to below (assuming you haven't already done this).
The syntax page, explains the corner cases and details of embedding HTML more completely.It's all nice, but personally, I'd prefer that/if the basics would work as they should do - like those "emphasis" and other things ("promised" in that page every user can link to).
can I use some "character encoder" or something?
Is this what you are looking for?
http://dev.w3.org/html5/html-author/charrefI'll take a look.
Though for now, for most purposes those "backlashes" are enough. -
ruario last edited by
It's all nice, but personally, I'd prefer that/if the basics would work as they should do
They do with the exception of "emphasis". Most of the other stuff that initially seems odd, makes sense if you read the syntax guide.
In any case, you can just write HTML, with the limitation that only a subset is made available, roughly the same tags you would get with Markdown, plus a few extra.
-
ruario last edited by
An example of a basic usage you claimed did not work was numbered lists but they work just fine
- First
- Second
- Third
The problem seems to be that you left blank lines between items but the guide specifically tells you not to do this
If you put blank lines between items, you’ll get <p> tags for the list item text.
-
A Former User last edited by
I had an impression that that was not "only emphasis". Maybe I'll revisit this thread from its beginning to refresh that "impression".
And to have it clear, this thread was started in order for other users to obtain basic knowledge how to make their contribution nice and tidy. -
ruario last edited by
I had a quick scan of the earlier comments and they appear to be people not following the guide (e.g. new lines between list items) or an expectation that all HTML tags would work and all CSS.
Barring emphasis, the Markdown methods seem to work to, when written correctly. HTML works if you follow the rules about mixing and matching and understand that only a selection of tags (that roughly matches Markdown), is allowed.
-
ruario last edited by
How about a quick test to see what is really broken and what isn't? I'll use all of the features listed on the Markdown basics page.
Here my sample Markdown code:
Header 1 ======== # Header 1 Header 2 -------- ## Header 2 ### Header 3 > This is a quote > > This is a quote > > This is a another quote, in reply The last word of this sentence is *emphasized*. The last word of this sentence is _emphasized_. The last word of this sentence is **bolded**. The last word of this sentence is __bolded__. Unordered list with asterisk: * Unordered list item * Unordered list item * Unordered list item Unordered list with plus sign: + Unordered list item + Unordered list item + Unordered list item Unordered list with hyphen (dash): - Unordered list item - Unordered list item - Unordered list item Ordered list: 1. First item in an ordered list 2. Second item in an ordered list 3. Third item in an ordered list Ordered list with paragraph: * Unordered list item Second paragraph * Unordered list item This is an [link to opera.com](http://www.opera.com/). This is an [link to opera.com with a title](http://www.opera.com/ "opera.com"). A link to [opera.com][1] and another to [Wikipedia][2] [1]: http://www.opera.com/ "opera.com" [2]: https://www.wikipedia.org/ "Wikipedia" ![alt text](https://forums.opera.com/themes/opera/design/static/css/img/opera-software-logo.png "Title") ![alt text][id] [id]: https://forums.opera.com/themes/opera/design/static/css/img/opera-software-logo.png "Title" Here is some inline code: `opera-developer` Here is some code on a new line: $ whoami ruario
And this is how it outputs:
Header 1
Header 1
Header 2
Header 2
Header 3
This is a quote
This is a quote
This is a another quote, in reply
The last word of this sentence is emphasized.
The last word of this sentence is emphasized.
The last word of this sentence is bolded.
The last word of this sentence is bolded.
Unordered list with asterisk:
- Unordered list item
- Unordered list item
- Unordered list item
Unordered list with plus sign:
- Unordered list item
- Unordered list item
- Unordered list item
Unordered list with hyphen (dash):
- Unordered list item
- Unordered list item
- Unordered list item
Ordered list:
- First item in an ordered list
- Second item in an ordered list
- Third item in an ordered list
Ordered list with paragraph:
-
Unordered list item
Second paragraph
-
Unordered list item
This is an link to opera.com.
This is an link to opera.com with a title.
A link to opera.com and another to Wikipedia
Here is some inline code:
opera-developer
Here is some code on a new line:
$ whoami ruario
-
ruario last edited by
So it would seem that emphasis and lists with paragraphs are broken. Everything else works as expected.