File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
src/resources/filters/quarto-post Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,6 @@ function reveal()
1818 Span = applyPosition ,
1919 Image = applyPosition
2020 },
21- {
22- Div = fencedDivFix
23- }
2421 }
2522 else
2623 return {}
@@ -54,17 +51,4 @@ function asCssSize(size)
5451 else
5552 return size
5653 end
57- end
58-
59- function fencedDivFix (el )
60- -- to solve https://github.com/quarto-dev/quarto-cli/issues/976
61- -- until Pandoc may deal with it https://github.com/jgm/pandoc/issues/8098
62- if el .content [1 ] and el .content [1 ].t == " Header" and el .attr .classes :includes (" fragment" ) then
63- level = PANDOC_WRITER_OPTIONS .slide_level
64- if level and el .content [1 ].level > level then
65- -- This will prevent Pandoc to create a <section>
66- el .content :insert (1 , pandoc .RawBlock (" html" , " <!-- -->" ))
67- end
68- end
69- return el
7054end
You can’t perform that action at this time.
0 commit comments