Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
CCM
CCM Toolkit
Commits
eb3300f1
Unverified
Commit
eb3300f1
authored
May 15, 2019
by
Caleb Maclennan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Strip more unneeded markup
parent
155514bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
filter-clean_ccel.lua
filter-clean_ccel.lua
+10
-1
No files found.
filter-clean_ccel.lua
View file @
eb3300f1
...
...
@@ -21,7 +21,7 @@ Span = function (element)
end
Div
=
function
(
element
)
if
(
#
element
.
classes
==
1
and
hasClass
(
element
,
{
"mnote"
}))
then
if
(
#
element
.
classes
==
1
and
hasClass
(
element
,
{
"mnote"
,
"book-content"
}))
then
return
element
.
content
end
return
element
...
...
@@ -30,3 +30,12 @@ end
LineBreak
=
function
()
return
{}
end
Header
=
function
(
element
)
-- element.attr = {}
return
pandoc
.
Header
(
element
.
level
,
element
.
content
)
end
HorizontalRule
=
function
()
return
{}
end
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