Skip to content

Commit 59ef7e7

Browse files
committed
fix: add metadata variable for reveal.js
1 parent 5898ae0 commit 59ef7e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/format/reveal/format-reveal-theme.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ function pandocVariablesToRevealDefaults(
247247
asCssNumber,
248248
);
249249
add(explicitVars, "code-block-bg", metadata["monobackgroundcolor"]);
250+
add(explicitVars, "code-block-color", metadata["monoforegroundcolor"]);
250251
return explicitVars;
251252
}
252253

0 commit comments

Comments
 (0)