-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Changing to 4:3 slide #163
Comments
Slide size cannot change via inline style. It comes from Marpit's technical restriction. Using custom theme CSS can do it. This is an example changing slide size to 4:3 based on And Marp CLI allows using custom theme. Please try this on CLI tool: marp --theme default43.css your-markdown.md --pdf /* default43.css */
@import 'default';
section {
width: 960px;
height: 720px;
} Marp Web and Marp for VS Code does not yet support custom theme, sorry. |
Yes, I've got it. And, it brings me another thing that, well, I am looking forward to the VS Code support, so that I could use live preview while I am trying out css code. Using Marp CLI can give me 4:3, but also extended my workflow as it requires terminal every time I change even a small piece of code. And, by the way, I use Marp for a very long training material, let's say about 100 slides. Anyway, I will keep looking on how can I convert my old css file used in old Marp. in the meantime, still, looking forward to critical update on Marp Next. Thanks again. |
Hi, this is maybe not an issue. But it really troubles me as:
$size: 4:3
.It left a blank space on the right that I don't know how to remove. I have tried exporting as pdf, html, and image. Is there something that I have done wrong, or ... ?
The text was updated successfully, but these errors were encountered: