Questions tagged [markdown]
The markdown tag has no usage guidance.
32 questions
7
votes
1
answer
131
views
List of "languages" to be used in "preformatted" code blocks for "Syntax Highlighting"
When I enter a "preformatted" code block in a body of Q or A, I have the option to specify the language of this code like this:
```bash
#!/bin/bash
echo "something"
sleep 10
exit
``...
3
votes
1
answer
63
views
Markdown editing commands don't seem to work
I have found this link:
https://askubuntu.com/editing-help#comment-formatting
And it says:
Linebreaks
End a line with two spaces to add a <br/> linebreak:
How do I love thee?
Let me count the ...
9
votes
1
answer
248
views
Many users are not formatting images properly. What to do?
I've been editing posts on the Ask Ubuntu website for a couple of weeks and I've found that there more than a hundred posts where images are not formatted properly. Most of the users are either ...
6
votes
3
answers
50
views
Final code block is rendered differently from Edit preview
This is seen the formatting of the answer at https://askubuntu.com/a/1104744/37574:
The code block is enclosed in triple-backticks, but displayed as though it were in single-backticks.
If I try ...
6
votes
1
answer
81
views
There is something wrong with backslash ("\") behaviour in comments
I was writing comment to the question(about Samba, so it uses UNC with backslashes).
The source code of my comment:
On Linux you should use `//` instead of `\\`. On Windows you should use only `\\`. ...
10
votes
2
answers
1k
views
What is the preferred way to add a numbered list using markdown?
I noticed my answer to a question was revised and approved for no apparent reason other than markdown preference.
Question
What is the preferred formatting of an ordered list using markdown? I ...
3
votes
1
answer
47
views
Insert link doesn't work as expected
Whether this is a bug might be open to interpretation. However, in the spirit of continuous improvement I thought I'd bring this up. When inserting a link we get the following prompt.
Placing an ...
6
votes
1
answer
99
views
Automatically wrapping lines in Ask Ubuntu
I'm new to forums and stuff like that. I need to post my wifi-info scripts output in Ask Ubuntu using Firefox and I need to keep it as it is without wrapping any lines. As soon as copy and paste it, ...
10
votes
2
answers
455
views
What should I do when a user persistently insists on poor formatting and resists formatting improvements?
Context: https://askubuntu.com/posts/971884/revisions
I edited an answer of a user who got distracted and forgot the Markdown syntax, using 1) instead of 1. for writing an ordered list. Therefore the ...
3
votes
2
answers
215
views
Syntax highlighting in <pre> block?
So I've discovered that I can make code blocks with <pre> tag. Great ! Now I can write markup in vim and copy the resulting text into answer text box (instead of pasting answer and script ...
15
votes
1
answer
327
views
Please don't use underscores for formatting
SE Markdown supports both underscores and asterisks for marking italics and bold:
_foo_ __foo__ *foo* **foo**
foo foo foo foo
However, the SE editor (both in browsers and apps) only recognises (...
-3
votes
1
answer
184
views
Can someone elaborate for me the rule on using the back tick for emphasis? [duplicate]
Is there a rule against which markdown codes are allowed in formatting text for easy reading? It's my impressing that a lot of text that is displayed that isn't code is displayed using code tags to ...
8
votes
3
answers
178
views
Unexpected formatting with code in list
I posted a answer and below some list items the code content turned to other format different from what I was expecting. I tried to indent either by code button or manually but didn't work. Is It a UI ...
7
votes
1
answer
164
views
Make blockquote formatting button not destroy the source layout!
You ever had a post in front of you where the OP did mix up blockquote and code formatting? Not those easy cases where he/she wrote a > character before the paragraph himself, but those cases when ...
47
votes
4
answers
61k
views
How do I add arrows in my post?
Sometimes, I see people posting this:
Ctrl+Alt+↑
Or this:
Go to File → Preferences.
How can I add these super awesome arrows?
I know I can copy the arrows from another post,...
1
vote
1
answer
76
views
Table making bug
Markdown than is on SE doesn't support table making.
Read the Markdown sytax specs page — section Inline HTML.
Example table in Markdown (and HTML) is on http://paste.ubuntu.com/1633733/. That works ...
4
votes
3
answers
2k
views
How do I escape backticks in a backticks command?
I found: "How do I escape backticks in a comment?", but I want to escape backticks, if I use backticks to format code in an answer.
The following doesn't work:
`sudo update-initramfs -v -u -k \`...
24
votes
3
answers
553
views
How much markup is tolerated?
Recently we see edit suggestions that mainly format text with a lot of markup that to my opinion do not always increase but sometimes reduce the clarity of a post.
People do have a different view on ...
2
votes
1
answer
152
views
How to comment out edits in Ask Ubuntu?
But I have this post that I would like to upkeep Now that I built Unity How do I Install it?
Now every time that I edit it (for the future or in the future) I would Like to put some commented code in ...
0
votes
0
answers
44
views
Is there a place for a command-line argument wiki format?
What I'm talking about is a wiki syntax dedicated to explaining command lines. We can all try out best with ASCII art, bullet lists, etc, but what would be perfect would be a format that produces a ...
3
votes
1
answer
148
views
Line breaks in markdown
I have been seeing new users who copy/paste code or information into posts not add extra newlines(or even type without extra newlines) and make posts hard to read, wasting the time of a moderator or ...
3
votes
1
answer
62
views
Are the shorthand links only supported when used in comments? If so, why?
A bit ago I read the Comment Formatting section in the Markdown help and actually used some shorthand links in a comment. At the time I just assumed that these shorthand links would also work when ...
0
votes
1
answer
75
views
How do I get the button icons? [duplicate]
Possible Duplicate:
How to use keyboard 'icon' in markdown?
I've seen in some questions or answer that people are able to turn 'alt' or 'shift' into little button icons that say the name ...
7
votes
1
answer
116
views
how to add keys symbol & and software center package link in askUbuntu answer?
I know this very dumb question in Ask Ubuntu.
I want to know how in this link the key symbols are attached in question
and in this link (in answer section 2 question) how Ubuntu software center open ...
2
votes
2
answers
107
views
Links without http don't get linked
Just came across this, don't know if its a feature or a bug. Basically if you don't type out http on a link in the markdown, it does not get converted to the link.
[Link](google.com) => Link
does ...
5
votes
1
answer
143
views
How do I escape backticks in a comment?
I want to be able to post this as a comment:
FYI, code formatting is done with backticks, e.g. `sudo vi /boot/grub/menu.lst`.
But as you can see, it doesn't come out quite right...
7
votes
2
answers
144
views
Cannot italicize words containing an underscore or an asterisk
This doesn't work:
*emphasized_text*
_emphasized_text_
*emphasized*text*
_emphasized*text_
This works:
<i>emphasized_text</i>
**more_bold**
**more*bold**
16
votes
1
answer
259
views
How to deal with masked shortened-urls?
Easter eggs in Ubuntu vs. Easter eggs in Ubuntu – Spot the difference!
The second one has a shortened url; I find this downright rude.
What are your views on the usage of masked shortened-urls?
Is ...
31
votes
2
answers
9k
views
How to use keyboard 'icon' in markdown?
Guys, I was looking in a question when I found a different way to markup keyboard (combination of keys) to express commands. I cant found a previously answer about Markdown (except this, but not ...
0
votes
1
answer
118
views
Blockquote button broken?
Blockquote
Blockquote> HelloBlockquote
Blockquote
Above is an example of what I get when trying to create a blockquote using the toolbar button. I'm fairly sure this isn't what's meant to happen. I'...
7
votes
1
answer
344
views
What HTML and/or Markdown code is allowed in comments?
What HTML and/or Markdown code is allowed in comments?
4
votes
1
answer
98
views
Markdown isn't parsed after a question rollback.
I just rolled back this question and now the Markdown hyperlink appears unprocessed:
When I click Edit, the preview displays correctly, so I know there isn't a syntax mistake: