mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
Work on documentation
This commit is contained in:
parent
c2935bd1d7
commit
f186e5c61f
17 changed files with 451 additions and 10 deletions
21
dashboard/src/components/Docs/CodeBlock.vue
Normal file
21
dashboard/src/components/Docs/CodeBlock.vue
Normal file
|
@ -0,0 +1,21 @@
|
|||
<template>
|
||||
<pre class="codeblock" v-highlightjs><code v-bind:class="lang" v-trim-code="trim"><slot></slot></code></pre>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.codeblock {
|
||||
padding: 0;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.hljs {
|
||||
background: transparent;
|
||||
padding: 16px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ["lang", "trim"],
|
||||
};
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue