mirror of
https://github.com/anatolykopyl/vue-highlights.git
synced 2026-03-26 12:55:35 +00:00
updated docs
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
<div id="docs">
|
||||
<div class="container">
|
||||
<h2>Documentation</h2>
|
||||
|
||||
<h3>Installation</h3>
|
||||
|
||||
<p>You can install via npm or yarn:</p>
|
||||
|
||||
@@ -96,19 +96,23 @@
|
||||
</div>
|
||||
|
||||
<div class="column center vcenter">
|
||||
<div class="mb-md">
|
||||
<h4>HTML with links:</h4>
|
||||
<div class="content-container text-md" v-html="$autoLink(text, options)"></div>
|
||||
</div>
|
||||
<div class="content-container">
|
||||
<div class="mb-md">
|
||||
<h4>HTML with links:</h4>
|
||||
<div class="text-md" v-html="$autoLink(text, options)"></div>
|
||||
</div>
|
||||
|
||||
<div class="mb-md">
|
||||
<h4>Text with links:</h4>
|
||||
<div class="content-container"> {{ $autoLink(text, options) }}</div>
|
||||
</div>
|
||||
<div class="mb-md">
|
||||
<h4>Text with links:</h4>
|
||||
<div class="text-center">
|
||||
<div class=""> {{ $autoLink(text, options) }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-md">
|
||||
<h4>Model text:</h4>
|
||||
<div class="content-container"> {{ text }}</div>
|
||||
<div class="mb-md">
|
||||
<h4>Model text:</h4>
|
||||
<div class=""> {{ text }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -42,6 +42,7 @@ export default {
|
||||
padding: 0px !important
|
||||
margin-bottom: $space-base
|
||||
font-family: 'Roboto Mono', monospace
|
||||
overflow-y: scroll
|
||||
|
||||
.line-numbers,
|
||||
.render
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
display: block
|
||||
font-size: 12px
|
||||
height: 32px
|
||||
line-height: 32px
|
||||
line-height: 12px
|
||||
max-width: 100%
|
||||
min-width: 100%
|
||||
padding: 2px 8px
|
||||
|
||||
Reference in New Issue
Block a user