Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

header and footer functionality of latest release (marp-cli) #243

Closed
tosaba opened this issue Sep 5, 2018 · 3 comments · Fixed by marp-team/marp-cli#13
Closed

header and footer functionality of latest release (marp-cli) #243

tosaba opened this issue Sep 5, 2018 · 3 comments · Fixed by marp-team/marp-cli#13
Labels
bug Marp Next ◢◢ Issues for the new version (Marp Next by @marp-team)

Comments

@tosaba
Copy link

tosaba commented Sep 5, 2018

It seems that with the newest release of marp-cli, the header and footer functionality contains some incompatibilities. Regular text is shown as expected, but as soon as you use bold text or include images, the respective html code is shown, on both, html and PDF slides.

in markdown:

---
header: "**bold** _test_"
footer: "![image](localimage.png)  footer title"
theme: base
---

on the slide:

<strong>bold</strong> <em>test</em>
...

<img src="localimage.png" alt="image" /> footer line

Thanks !

@yhatt yhatt added Marp Next ◢◢ Issues for the new version (Marp Next by @marp-team) bug labels Sep 5, 2018
@yhatt
Copy link
Owner

yhatt commented Sep 5, 2018

Maybe it caused by the update of marp-core v0.0.5. (marp-team/marp-core#26)
Header and footer are defined as HTML block in the Marpit framework, so these elements might be sanitized unintentionally.

@yhatt
Copy link
Owner

yhatt commented Sep 6, 2018

Ready to use the updated @marp-team/marp-cli v0.0.7. it has included upgrades about the framework (Marpit v0.0.15) and core (marp-core 0.0.6).

@tosaba
Copy link
Author

tosaba commented Sep 6, 2018

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Marp Next ◢◢ Issues for the new version (Marp Next by @marp-team)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants