26

Update: This was almost certainly my fault. On December 20, 2013 I moved the TeX (and meta) databases to new homes. I'm not sure how the original problem occurred, but TeX and its meta had a very odd database collation. Of the hundreds of databases, it was only those. We didn't recognize this for several years until we started aggregating data across ...


16

There's no formal policy since, of course, you can't force people to use it. With many people familiar with this habit, most packages/classes are written using <code>. And, if not, they may be edited to "conform" to this. One advantage of using an alternative <code>-markdown is that it clearly highlights when you're using a package rather than ...


14

I think implementing this as a standard feature wouldn't go along with the stackexchange answer design, which is text-oriented. If you start adding such pictograms, you'll have to allow for others, which might well trigger an avalanche of such graphic elements. However, what bars you from just inserting the picture in your posts manually? In order to avoid ...


14

Based on \\ corruption, I've created a new query TeX.SX \\ corruption (based on user ID) which I hope will help anyone to find their own posts affected by this bug! P.S. The database is updated every sunday, so the query will return also updated Q&A until the database is refreshed...


13

Policy from 'the early days' has been Package names are inserted as code If pointing to a package in an answer, it should if possible be linked to CTAN: [`some-package`](http://ctan.org/pkg/some-package) Tags are used for tagging, which means that they are almost exclusively placed in the 'tags' part of a question and not in the main body. Sometimes tags ...


12

In Q and A posts you can use HTML for this: Ti<i>k</i>Z: TikZ. But it's not really worth the effort IMHO and will not work for comment and chat messages.


12

Issues using a variety of software - Pandoc included - are on topic here as long as the issue relates to (La)TeX in some way. As mentioned in the TeX - LaTeX Tour page: Ask about... Formats like LaTeX, ConTeXt and plain TeX Engines like pdfTeX, LuaTeX and XeTeX Distributions like TeX Live, MiKTeX, and MacTeX Related software and tools, ...


11

Markdown does offer proper hyperlinked tags using a specific syntax. For example, the tag <tag> on the main site can set in markdown using [tag:<tag>], while the same tag on meta would be [meta-tag:<tag>]. Markdown syntax for tagging is recommended, since it provides the appropriate formatting associated with each tag. For example, see {...


10

This all has to do with the fact that SE uses markdown in posts and comments (similar to setting some character's catcode to \active), and markdown uses the following set of characters that have special meaning: [, ] Used with links/internal references/tags (, ) Used with links/internal references # Headings ! Images, language syntax formatting and spoilers ...


10

I believe there's an answer on MSE that addresses the issue. The important bit is: A colon and %3a are semantically identical in URLs per the RFC. If you look at an example on Gaming (and read the comments), you'll see that the problem should actually be fixed by the site that serves pages with colons in the URL. This is actually a bug at Gitorious.org....


10

I think this would be far less useful than explaining why something is dangerous. I worry that if you add that sign people might get a bit lazy and throw it up as a alternative to properly explaining what they are doing and why. I think a far better method would be to explain WHY this bit of code or area of TeX is a bit scary, rather then just throwing up a ...


9

I pushed a fix to our dev server. It will be on live after the next production build.


9

You can highlight the block of code and press the {} button or use Ctrl+K: Note that code formatting requires additional formatting when used in conjunction with a list. For more on this, see Is there a problem with code formatting? Why do code snippets not work after lists? In short, Insert an additional 4 spaces for each level inside the list that you ...


9

Markdown can be "too aware" sometimes. When you typed 1., the parser automatically treated the current line as a list. If there's a list going on the line above, a new line starting with at least one space will make it part of that list: 1. This is a list. I'm not part of the list. 1. This is another list. Now I'm part of the list. which will render as:...


9

After I removed and added the four spaces at the begin of every line it got formatted correctly. Maybe there were some Unicode spaces or line breaks included which confused the system. Note that code blocks which are part of a list element you need to be indented with 8 spaces, not just with 4. If the code block directly follows a list, but should not be ...


8

Doncherry makes some good points. Another thought I have is that as we are Q&A oriented, answers should match the technical level of the questions, and readers pick out questions they want to know about. So most end users will probably skip very technical questions/answer entirely. On the other hand, experienced developers reading a question on the inner ...


8

This is a little splitting the hair for my understanding. IF we force this I'm the first one who will stop using backticks :P We shouldn't have policies on such stuff because they are aids not rules. But at least we can embed some use into this pedantry if the backticked thing is a package name. We have the amazing tool of Martin Scharrer described here; ...


8

First of all, the help page on editing mentions no guidelines in terms of such edits. Furthermore, policy is too authoritative here, and technically it would not be enforceable. One could suggest some guidelines, but then again, not everyone will follow them (see oNe SuCH iNSTaNCe). This is not very different from people putting "Thanks" at the bottom of ...


8

As you can see on the revision page which shows a live rendering of this question, this is fixed now. It's still visible in your question because the version displayed here is saved on submission; were you to edit the question now, the stray </li> would be gone from there as well. If you're interested in some technical background on the problem, I ...


8

You want two backticks ``\code`\{=1``


7

Does the package name have to be typed exactly so in the preamble or you get an error? It won't work if you use a synonym, different capitalization, or hyphenate? Why then, it really IS code after all, just a very small excerpt.


7

Intra-word emphasis by Markdown is not supported, by design: Three Markdown Gotchas (SO blog post) WMD unable to render markup inside words (meta.SO) Similar: Markdown handles inline bold text (within a word) incorrectly


7

Interesting edge case, and one where various Markdown implementations disagree. That leaves the call to me, and I think the server-side version did the more correct thing here, so I've changed the preview to behave the same way. This fix is in the next build of the sites.


7

In most cases, the specific name of a file doesn't matter, but even if it does, there's no need for a heading outside of the code. If the file name does matter, there usually are several files involved with one main file accessing the other(s) (e.g. a .bib file). In those cases, I'd recommend using a filecontents environment in order to enable user to create ...


6

Typesetting backslashes, backticks and spaces:   \ \ \\ \  ` `` ` ``` `` `` ``` ` \` \`   Use HTML formatting mixed with markdown for spaces. 1. &nbsp; 2. \\ 3. `\` 4. `\\` 5. <code>\&nbsp;</code> 6. ` 7. `` 8. <code>`</code> 9. ``` `` 10. <code>``</code> 11. ``` ` 12. <code>\\`</code>...


6

Not a bug: a feature :-) The code was marked up not using Markdown (4 space indent) but using <pre> tags. That turns off the automatic syntax highlighting: I've edited and all should be fine now.


5

I do not know a site solution, but you can try to solve his on your own: For Windows there is PhraseExpress, a text expander for Windows (free for personal use), and I guess there are alternatives for Linux and MacOSX, for Windows I know there are. I use this myself for instance to get typographical quotes like “” and ‘’ (also in German „“ or with ...


5

You could do like this1, though you have to number and position the footnotes manually. A related question on Meta.SO: Markdown footnotes? 1 Using <sup>1</sup> to write a raised number.


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