diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2018-11-29 11:09:15 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2018-11-29 21:41:54 +0100 |
commit | 635750a0cda2e9f6f906e10e33a087b579a74ba8 (patch) | |
tree | f66ee5be65a4b67388323736a5b181581f2fdd36 /help3xsl/default.css | |
parent | 93b7b1c8c79744b8d172dc0f2bbdf8a80e05abd8 (diff) |
tdf#115663 Syntax highlight in BASIC code examples
Use prism.js to highlight BASIC code in help pages
See README.prism.js.txt for details
added normalize-whitespaces plugin to remove extra 1st line
cleaned some useless css class
Change-Id: I6dde4d217a29f485199ced462b896ee1b500fba0
Reviewed-on: https://gerrit.libreoffice.org/64252
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/default.css')
-rw-r--r-- | help3xsl/default.css | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/help3xsl/default.css b/help3xsl/default.css index 285d1e9002..6cb76ce384 100644 --- a/help3xsl/default.css +++ b/help3xsl/default.css @@ -314,37 +314,10 @@ h6 { font-size:1.2rem; } .bascode { - background-color: #fafafa; - margin-left: 30px; - margin-right: 30px; + margin-top:15px; + margin-bottom: 15px; } -.bascodepar { - font-family: monospace; -} - -/* Basic code syntax highlight */ -.identifier, -.unknown { - color: green; -} -.keyword { - color: blue; -} -.comment { - color: gray; -} -.number, -.string { - color: red; -} -.operator, -.parameter { - color: black; -} -.hotlink { - color: blue; -} .infopage { color: green; font-size: 1.33rem; |