Skip to content
This repository has been archived by the owner on Apr 29, 2023. It is now read-only.

Remove space from the top of a code element #6

Open
TimPietrusky opened this issue Jun 20, 2014 · 1 comment
Open

Remove space from the top of a code element #6

TimPietrusky opened this issue Jun 20, 2014 · 1 comment

Comments

@TimPietrusky
Copy link
Owner

There is some space in the first line of a code element which has to be removed:

screenshot from 2014-06-20 03 37 29

@Haroenv
Copy link

Haroenv commented Jun 16, 2016

That's probably because you start it like

<pre><code>
if (something) {
  // code
}
</code></pre>

Which includes the newline after the code tag. To get rid of that you have to start the first line on the same line as the code like this:

<pre><code>if (something) {
  // code
}</code></pre>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants