Default quoting behaviour cannot quote code.
-
Continuing the discussion from Metabug: Runaway bot:
````
package test;public class paulaBean {
private paulaBean bean = new paulaBean();
private String paula = "Brillant";
public String getPaula() {
return paula;
}
}----- As pointed out [here][1]. The above is the result of just clicking "Reply as new Topic" on the linked post. Messing around with it I can't see how to easily fix it... [1]: http://what.thedailywtf.com/t/metabug-runaway-bot/793/9?u=pjh
-
Best I can do to get somewhat close to desired state:
>```
package test;
public class paulaBean {
private paulaBean bean = new paulaBean();
private String paula = "Brillant";
public String getPaula() {
return paula;
}
}
-
This is as-designed at the moment -- quotes and oneboxes don't carry formatting, other than hyperlinks.
-
It's designed so the quote tags are visible and don't work? I... don't even know how to respond to that.
Filed under: Discourse: broken by design
-
Quotes, as designed, are supposed to be essentially plain text (prior to expansion, which pulls in the full, formatted quote). Mainly this is to avoid complexities around embedded formatting.
-
Quotes, as designed, are supposed to be essentially plain text (prior to expansion, which pulls in the full, formatted quote). Mainly this is to avoid complexities around embedded formatting.
I can accept that, but in this case those the quote is totally broken. And apparently it's meant to be.
Expected: the quote displays without formatting (better to show it with formatting, but it's too hard I guess)
Actual: the quote is not displayed
-
Testing...
Inline:
text `code` text
Block:
@fatbull said:
```
codeAdding a blank line: @fatbull said:<blockquote>``` code ```</blockquote> Adding text: @fatbull said:<blockquote>text
code
Adding more code: @fatbull said:<blockquote>text
code
code
-
- Inline code works, but should not according to @codinghorror's comment above.
- Quoted code blocks don't work, but that was expected.
- A blank line magically "fixes" the code, but cuts the quote in half.
- A line of text "fixes" that again, but adds gibberish where my avatar should be.
- Somehow another line of code makes it even worse.
Here's a screenshot of the post's source, preview, and result:
Filed under: Markdown: 1, Sanity: 0
-
What about this:
>```
type Bool bool
func (b Bool) String() string {
return "FILE_NOT_FOUND"
}
-
This is something we will come back to after V1, but right now, the intention is for quotes to be almost exclusively plain text. Obviously links work in quotes.. but quotes are not designed to carry formatting beyond the most basic kind.
-