Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Marpit framework to create documents of A4/US Letter page sizes #248

Closed
indranilrc opened this issue May 17, 2020 · 1 comment
Closed
Labels
question 🙅 Not issue, just a question (should post to Marp discussion)

Comments

@indranilrc
Copy link

I am sorry if this is not the right place - but I have a couple of feature requests:

  1. Is it possible to reuse the marpit framework to generate reports with A4 or US Letter page sizes? If you could please point me to any resources that may help me do that, I would love to use marp as a report/document writer as well (both word and ppt replacement).

  2. This is probably a weird request, but is there any way we can change the cursor to a 'laser pointer' when we are on an HTML webpage view of the slides?

Thank you so much for your Marp again :)
Indranilrc

@yhatt yhatt added the question 🙅 Not issue, just a question (should post to Marp discussion) label May 18, 2020
@yhatt
Copy link
Member

yhatt commented May 18, 2020

  1. Read documentation: https://marpit.marp.app/theme-css?id=slide-size.
  2. A similar cursor can use by tweaking CSS through inline style in Markdown.
<style>
section, section * {
  cursor: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="16" width="16" viewBox="0 0 10 10" %3E%3Ccircle cx="5" cy="5" r="5" fill="red"/%3E%3C/svg%3E '), pointer;
}
</style>

# Hello

NOTE: Please follow our guideline when creating a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question 🙅 Not issue, just a question (should post to Marp discussion)
Projects
None yet
Development

No branches or pull requests

2 participants