36

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


23

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


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

Hmm, I've usually seen this going the other way. Some new users splatter their whole post with random formatting and there's an edit to strip it back down. The simple answer is only very little formatting is really required. Emphasis (italic or bold) can usually be replaced by cutting down the verbosity of a post, or breaking it down with logical whitespace....


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 ...


10

In my opinion, there is a very simple "Ask Ubuntu's Razor" here: if it's more clear and easy to read after the edit, approve it. Otherwise, reject it. It's as simple as that. Clearer? Accept. Not clearer? Reject. No need to make it more complicated than that.


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 ...


9

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 ...


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, ...


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

This is correct and by design. If you want a link, be explicit about the link protocol. (hint: ftp:// works too.. as does https://)


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.


7

The following (without four spaces): ``sudo update-initramfs -v -u -k `uname -r` `` generates the desired goal: sudo update-initramfs -v -u -k `uname -r` Source: How can the backtick character ` be included in code?


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

We are no mind-readers, so we can't tell you why there is no way to do it at this point. But the reason for the "standard" markdown not working is this: Table HTML is not permitted: We do not (and will not) allow <table> tags. Sorry. This is intentional and by design. If you need a quick and dirty "table", use <pre> and ASCII layout. And, as ...


5

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> <...


5

https://askubuntu.com/editing-help will help you out. Use <kbd>Your Key Here</kbd> for Your Key Here. To link to the Software Center, use [package name](link).


4

Well, you should not do it for personal tracking, there is no such way to do that on the site, but every time you edit something you are given the chance to add a comment to that edit It can be later reviewed when you check the post's revisions by clicking on the edited link under the post It will then show up on the reversions list for that post


4

It is by-design - the Markdown syntax specifies a blank line between paragraphs. Code should be indicated as such - indented four spaces. There's a button on the toolbar and a shortcut key to accomplish this, and doing so also handles escaping special characters in cases where it otherwise can't be done automatically.


3

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!


2

You can indent code by four spaces instead of using a backtick. `hey everybody` For more information: How do I escape a backtick in Markdown?


2

<kbd>KEY</kbd> gives KEY And if you see something in the wild like that in the future, you can click the edit link to see the source for it.


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 ...


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 ...


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