50

I use these entities: ←, ↑, → and ↓ only. It's faster: ←, ↑, → and ↓.


29

You can add the arrows by simply typing the below: ↑ That will give you ↑. Similarly, ↓, →, and ← give you ↓, →, and ←.


17

Most of the users are either forgetting to add the exclamation mark or maybe deleted the exclamation mark before posting the question/answer. That's not what happens (at least not in most cases); new users are not allowed to post images on some sites: Which SE sites require 10 reputation points to post images? because it has led to abuse in the past. Those ...


16

The problem is the list. When using lists, you need to multiply the indentation by the list level (see this answer's source to understand better): No list, 4 spaces indents code: this is code List item, you now need 8 spaces this is not code (4 spaces) this is code (8 spaces) Sub-list item, you now need 12 spaces: this is not code (4 spaces) this is ...


13

This is HTML that works also in the used Markup language here on StackExchange. You would write <kbd>F1</kbd> to achieve F1 (when it is surrounded by ` for code formatting, HTML is ignored). kbd is the abbreviation for keyboard. Oh, and in comments you also have no HTML support. For more information, look there: https://askubuntu.com/help/...


12

tl;dr: Output matters, the rest is up to you. You’re free to use whatever numbering scheme you want as long as it gives the correct output. There is no preferred way, and this is good – needlessly limiting people’s ability to produce the desired output serves no purpose and can even be harmful: Too many rules alienate users from writing posts, and that’s ...


11

Disagree. If it is supported somewhere, it should be supported everywhere. (Or nowhere but I think no one is going to convert all existing posts.) So I would rather ask for adding the support to “SE editor” (or the “SE formatting bar” if I understand the term correctly). There is a hint frame How to Format on the right side of the editing field, at least in ...


9

Click the gray circle with a question mark inside it in the upper right corner of the Ask Ubuntu markdown editor to show the link for advanced help (in red letters) which tells all the rules for formatting text in the markdown editor. When text that is formatted as a code sample by clicking on {} in the markdown editor is too long to fit inside the window, ...


9

No, backticks should not be used for emphasis. There are various reasons for this: Consider blind users using screen reading software. Such context tags (<code>) help them know what they're reading and, if I'm not mistaken, their software will spell anything marked as code letter by letter. So foo would become "eff, ow, ow" (f,o,o). Many of us find ...


8

A more general solution would be to set up an .Xcompose file for custom compose key sequences. This is what I use: include "%L" # SINGLE ARROWS <Multi_key> <Left> <Left> : "←" leftarrow # LEFTWARDS ARROW <Multi_key> <Up> <Up> : "↑" uparrow # UPWARDS ARROW <Multi_key> <Right> <...


8

When your code is inside an ordered or unordered list you will need to indent it 8 spaces to get proper code formatting. I dunno if this is documented anywhere.


8

In this case I would suggest doing nothing, because the post is readable as it is. It would look prettier if its two list items were in an actual ordered list, but the 1), 2) formatting is readable here because both the list and the items in it are short. The formatting is only "wrong" if the actual goal is to cause HTML code for an ordered list to be ...


8

Markdown is not perfect, but we can't expect everyone to know LaTeX, so markdown is the easy way for the most common denominator to be able to produce something readable. :-) Your answer wasn't revised for no apparent reason: all edits need to be approved by 2 reviewers unless the reviewer edits it himself. So ubashu probaly saw your edit as the perfect edit ...


8

It works fine for me. Note that this is the title, not the alt text. The text in the "enter image description" part is the alt text, used when the image couldn't be shown. The title is shown when you mouseover the link, and in markdown looks like so (foo in this example): [enter link description here][1] [1]: http://example.com "foo" enter link ...


7

This has to do with the age of the post and is in fact happening by design. When it was created in December 2018, Stack Exchange didn't support ``` code fences. It did, however, support ``` as a way of entering inline code with like breaks. That's what the answer in question was doing, purely by accident. In January 2019, we added support for code blocks ...


6

I don't remember the details, but there are differences in how markdown works in posts, in comments and in chat. In your case, you want this (see the comment under my answer for a demonstration): you should use `//` instead of ``\\`` foo. I am guessing the issue is some combination of i) having many backticks and ii) having one of the backticks escaped (\`)...


5

Comment formatting only supports a very specific subset, the commands in the block at the top. The other ones in the list, like line breaks, are exclusive to posts (questions and answers).


4

The problem only happens with short lines (or rather, with lines containing short enough words), where the editor wraps a paragraph, leading it to fit as many words as it can into each line. aaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbb cccccccccccccccccccccccccc Take this and block quote it: aaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbb ...


4

This website provides more information: http://reference.sitepoint.com/html/kbd Also in most browsers you can highlight it, right click, and view selection source. Hope this helps... Have Fun!


4

I usually double-up the indent for each level of bullet point you're under. So here that's an indent of 8 spaces. And it previews correctly. 1. Update your `/etc/default/grub` accordingly: GRUB_CMDLINE_LINUX_DEFAULT="nomodeset" GRUB_GFXMODE=1152x864x32 GRUB_GFXPAYLOAD_LINUX=1152x864x32 Update your /etc/default/grub accordingly:...


2

I solved it by indenting the code block by four spaces, which subordinates it under the ordered list: 1. update your `/etc/default/grub` accordingly: ``` GRUB_CMDLINE_LINUX_DEFAULT="nomodeset" GRUB_GFXMODE=1152x864x32 GRUB_GFXPAYLOAD_LINUX=1152x864x32 ``` The issue of the Preview showing something different than the post in the end of ...


2

Just use this userscript: Better handling of indentation and the TAB key when editing posts. This user script changes the behavior of a few keys (most notably the Tab key) within the post editor to behave more like it does in IDEs or text editors: When multiple lines are selected, Tab and Shift-Tab indent and dedent these lines When nothing is ...


2

Many people who find this post by searching will want to know how to format text as a block of code easily. To do that, select the text in the visual editor (i.e., the text box on Ask Ubuntu where you are writing or pasting it) and press Ctrl+K or click the button that looks like {}. This indents each line by four spaces, causing it to be rendered as a code ...


2

As @JeffAtwood mentioned, links (URLs) have to contain the protocol aka scheme generally and are not valid without it – although most browsers accept just the hostnames without specifying the protocol. However, I find displaying [Link](google.com) as Link instead of [Link](google.com) a bug. If a markdown transformation is not applied fully, it should not ...


1

Minor note about 2 successive lists of different type even without any indent space. - ul 1. il <-0 here notice |<-12 code break 1. il - ul <-0 here notice |<-12 code ul il <-0 here notice |<-12 code break il ul <-0 here notice |<-12 code


Only top voted, non community-wiki answers of a minimum length are eligible