Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken code-blocks #18

Merged
merged 2 commits into from
Apr 1, 2017
Merged

Fix broken code-blocks #18

merged 2 commits into from
Apr 1, 2017

Conversation

manuth
Copy link
Contributor

@manuth manuth commented Mar 30, 2017

Codeblock have an incorrect padding.

For example this here:

> **This is a blockquote**  
> ...with some code in it
> ```csharp
> Console.WriteLine("Hello World");
> ```

Renders like this.

image

As you can see the code-block is sticking on the bottom of the box which looks pretty weird.
This can be fixed by wrapping the code with a <div>-tag.

Additionally I updated the markdown.css to the newest version.

manuth added 2 commits March 30, 2017 11:26
Fix the way code-blocks look by wrapping the code with a div:
Code-blocks have an incorrect padding when not wrapped by a div.
Update the markdown-styles according to the newest version
of Microsoft's markdown-extension
@yzane yzane merged commit 53b3db7 into yzane:master Apr 1, 2017
@yzane
Copy link
Owner

yzane commented Apr 1, 2017

@manuth Thanks for your PR!

yzane added a commit that referenced this pull request Apr 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants