Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

This question already has an answer here:

I was editing a question during the review and I'm having troubles formatting this code: can anyone tell me how to do it? The code is not shown in the question body!


  • Added this to my masterpage:


You can see that the code is not shown!

This is the hard-copied code:

First line: <%: Scripts.Render("~/js/mainJS.js") %>

Second line:<%: Styles.Render("~/css/mainStyle.min.css") %>


The question I was editing is this one: Bundling css and javascript with webforms

share|improve this question

marked as duplicate by Duncan, ben is uǝq backwards, Wooble, Time Traveling Bobby, Martijn Pieters Nov 12 '13 at 15:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 5 down vote accepted

Instead of putting them in blockquotes ">" put them in code block by prefixing them with 4 spaces.

<%: Scripts.Render("~/js/mainJS.js") %>

<%: Styles.Render("~/css/mainStyle.min.css") %>

When putting them after list, you have ot prefix them by 8 spaces. (4 spaces is the indent of the list block, then 4 more ot specify code block)

  • list

    <%: Scripts.Render("~/js/mainJS.js") %>
    <%: Styles.Render("~/css/mainStyle.min.css") %>
share|improve this answer
That was the trick! I tried with 4 spaces but not with 8. Great! :) Thanks. – Andrea Nov 12 '13 at 14:35

Not the answer you're looking for? Browse other questions tagged .