Socket
Socket
Sign inDemoInstall

github-markdown-css

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-markdown-css - npm Package Compare versions

Comparing version 2.7.0 to 2.8.0

2

package.json
{
"name": "github-markdown-css",
"version": "2.7.0",
"version": "2.8.0",
"description": "The minimal amount of CSS to replicate the GitHub Markdown style",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -21,5 +21,6 @@ # github-markdown-css

Import the `github-markdown.css` file and add a `markdown-body` class to the container of your rendered Markdown and set a width for it. GitHub uses `980px` width and `45px` padding.
Import the `github-markdown.css` file and add a `markdown-body` class to the container of your rendered Markdown and set a width for it. GitHub uses `980px` width and `45px` padding, and `15px` padding for mobile.
```html
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="github-markdown.css">

@@ -34,2 +35,8 @@ <style>

}
@media (max-width: 767px) {
.markdown-body {
padding: 15px;
}
}
</style>

@@ -36,0 +43,0 @@ <article class="markdown-body">

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc