Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed https://markdown-it.github.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

90 lines
1.6 KiB

html,
body,
.full-height {
height: 100%;
}
body {
overflow-x: hidden;
padding-bottom: 180px;
}
.demo-options {
margin-bottom: 10px;
}
.checkbox {
margin-right: 10px;
}
.source {
width: 100%;
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
font-size: 13px;
}
.result {
padding-right: 20px;
overflow: auto;
}
.result img {
max-width: 100%;
}
.result-src {
display: none;
}
.result-src-content {
white-space: pre;
}
.result-as-text .result-src {
display: block;
}
.result-as-text .result {
display: none;
}
.demo-control {
position: absolute;
right: 15px;
top: 0;
padding: 0 10px;
border-radius: 0 4px;
font-size: 12px;
background-color: #666;
color: #fff !important;
opacity: 0.6;
-webkit-transition: opacity 0.5s ease-in-out;
transition: opacity 0.5s ease-in-out;
}
.demo-control:hover {
opacity: 1;
}
.demo-control a {
margin: 0 20px;
color: #fff !important;
}
.hljs {
background: none;
padding: 0;
}
.gh-ribbon {
display: block;
position: absolute;
right: -60px;
top: 44px;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
width: 230px;
z-index: 10000;
white-space: nowrap;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
background-color: #686868;
box-shadow: 0 0 2px rgba(102,102,102,0.4);
padding: 1px 0;
}
.gh-ribbon a {
text-decoration: none !important;
border: 1px solid #ccc;
color: #fff;
display: block;
font-size: 13px;
font-weight: 700;
outline: medium none;
padding: 4px 50px 2px;
text-align: center;
}