mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
Merge branch 'albergoniSivaf-master'
This commit is contained in:
commit
5c040bf2b7
@ -25,6 +25,7 @@ import 'codemirror/mode/sql/sql';
|
||||
import 'codemirror/mode/toml/toml';
|
||||
import 'codemirror/mode/xml/xml';
|
||||
import 'codemirror/mode/yaml/yaml';
|
||||
import 'codemirror/mode/pascal/pascal';
|
||||
|
||||
// Addons
|
||||
import 'codemirror/addon/scroll/scrollpastend';
|
||||
@ -61,6 +62,8 @@ const modeMap = {
|
||||
powershell: 'powershell',
|
||||
properties: 'properties',
|
||||
ocaml: 'mllike',
|
||||
pascal: 'text/x-pascal',
|
||||
pas: 'text/x-pascal',
|
||||
php: (content) => {
|
||||
return content.includes('<?php') ? 'php' : 'text/x-php';
|
||||
},
|
||||
|
@ -94,9 +94,10 @@
|
||||
.popup-body {
|
||||
background-color: #FFF;
|
||||
max-height: 90%;
|
||||
width: 1200px;
|
||||
max-width: 1200px;
|
||||
width: 90%;
|
||||
height: auto;
|
||||
margin: 2% 5%;
|
||||
margin: 2% auto;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
|
||||
overflow: hidden;
|
||||
|
@ -23,10 +23,11 @@
|
||||
<a @click="updateLanguage('JavaScript')">JavaScript</a>
|
||||
<a @click="updateLanguage('JSON')">JSON</a>
|
||||
<a @click="updateLanguage('Lua')">Lua</a>
|
||||
<a @click="updateLanguage('PHP')">PHP</a>
|
||||
<a @click="updateLanguage('Powershell')">Powershell</a>
|
||||
<a @click="updateLanguage('MarkDown')">MarkDown</a>
|
||||
<a @click="updateLanguage('Nginx')">Nginx</a>
|
||||
<a @click="updateLanguage('PASCAL')">Pascal</a>
|
||||
<a @click="updateLanguage('PHP')">PHP</a>
|
||||
<a @click="updateLanguage('Powershell')">Powershell</a>
|
||||
<a @click="updateLanguage('Python')">Python</a>
|
||||
<a @click="updateLanguage('Ruby')">Ruby</a>
|
||||
<a @click="updateLanguage('shell')">Shell/Bash</a>
|
||||
|
Loading…
Reference in New Issue
Block a user