Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Gitlab is now running v13.9.0 - More info ->
here
<-
Open sidebar
VEBER Philippe
codepi
Commits
c5816ae1
Commit
c5816ae1
authored
Dec 20, 2020
by
Philippe Veber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tk/Note: use marx for css
parent
89a58f33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
20 deletions
+9
-20
lib/tk/note.ml
lib/tk/note.ml
+9
-20
No files found.
lib/tk/note.ml
View file @
c5816ae1
...
...
@@ -89,7 +89,7 @@ let html_template = {|<!DOCTYPE html>
$
if
(
template_css
)
$
<
link
rel
=
"stylesheet"
href
=
"$template_css$"
>
$
else
$
<
link
rel
=
"stylesheet"
href
=
"https://
cdnjs.cloudflare.com/ajax/libs/uikit/2.26.4/css/uikit.gradient
.css"
>
<
link
rel
=
"stylesheet"
href
=
"https://
unpkg.com/marx-css/css/marx.min
.css"
>
$
endif
$
<!--
<
link
rel
=
"stylesheet"
href
=
"style.css"
>
-->
...
...
@@ -132,10 +132,7 @@ $endif$
</
head
>
<
body
>
<
div
class
=
"uk-container uk-container-center uk-margin-top uk-margin-large-bottom"
>
<
main
>
$
if
(
title
)
$
<
div
class
=
"uk-grid"
data
-
uk
-
grid
-
margin
>
<
div
class
=
"uk-width-1-1"
>
...
...
@@ -150,18 +147,11 @@ $endif$
</
div
>
$
endif
$
<
div
class
=
"uk-grid"
data
-
uk
-
grid
-
margin
>
<
div
class
=
"uk-width-medium-1-4"
>
<
div
class
=
"uk-overflow-container"
data
-
uk
-
sticky
=
"{top:25,media: 768}"
>
<
div
class
=
"uk-panel uk-panel-box menu-begin"
>
$
if
(
toc
)
$
$
toc
$
$
endif
$
</
div
>
</
div
>
</
div
>
<
nav
>
$
if
(
toc
)
$
$
toc
$
$
endif
$
</
nav
>
<
div
class
=
"uk-width-medium-3-4"
>
$
body
$
...
...
@@ -178,10 +168,9 @@ $if(analytics)$
ga
(
'
send'
,
'
pageview'
);
$
endif
$
<
script
src
=
"https://vjs.zencdn.net/5.4.4/video.js"
></
script
>
</
div
>
</
main
>
</
body
>
</
html
>
|
}
</
html
>|
}
let
pandoc
?
(
toc
=
false
)
~
md
~
template
~
html
=
Bos
.
Cmd
.(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment