Comments (6)
Try --html
option.
marp --html --pdf --allow-local-files Abstrakteklassen.md
Marp CLI would escape not-whitelisted HTML by default because of several security reason. Refer to: CVE-2017-2239, marp-team/marp-core#9, marp-team/marp-core#26, yhatt/marp#259
from marp-cli.
You are right: Currently marp-team have not provide an editor. I have not the time to develop a editor because currently I focus to the minimum viable product, that is the conversion from Markdown to slide deck.
At the moment, the most similar usage is the combination with Marp CLI's preview mode (marp -p
) and your favorite editor, Vim, Emacs, Atom, VSCode, etc...
In future, marp-team/marp-web (In development: https://web.marp.app/) would become a new editor. Sometime I'm going to create blog and explain about the whole of our project clearly. (marp-team/marp#11) Please excuse my lack of explanation!
from marp-cli.
Ok nice, that worked...but the rendered output is not the same as with Marp. The align="right"
is not interpreted.
## Abstrakte Klassen - Store
<img src="diagrams/store_oop.svg" width="600" align="right">
- Alle Klassen können **instanziert** werden
- Die Kindklassen **müssen** keine Funktion überschreiben
Article a1 = new Article(23, "Test1");
Article a2 = new Book(12, "Test2");
Gets rendered like this:
from marp-cli.
In the complete re-written tools released by marp-team, included Marp CLI, you should not expect the exactly same result with yhatt/marp. In this case, yhatt/marp's older Chromium has wrong rendering.
According to W3C, the floating element in flexbox is ignored. Marp slide has consisted of flex container, and the floating by align=right
should be ignored.
ref: https://stackoverflow.com/a/39194800
Instead of align=right
, you can use split background by ![bg right](bg.jpg)
![bg right w:600](diagrams/store_oop.svg)
from marp-cli.
Ok, I got it now...I was a bit confused with the difference between marp-cli, marpit, marpcore, marp, and yhatt/marp.
Just that I am not missing something: There is currently no marp editor for the new version, which works like yhatt/marp?
from marp-cli.
Thanks for the clarification (: and great piece of software! 👍
from marp-cli.
Related Issues (20)
- Generation of PDF failed with too much latex formulas HOT 2
- Marp crashes with NodeJS LTS 18.18.0 HOT 3
- The coloring of CLI output is not accessible HOT 1
- Transparent background does not work when outputting in png format HOT 2
- Unable to launch marp if a subdirectory or file is not readable HOT 1
- marp stuck a long time without any output HOT 6
- Greek characters in path HOT 3
- Marp and inotifywait HOT 2
- Keyboard shortcuts for moving quickly inside the presentation HOT 2
- Experiment: File conversions using Firefox through WebDriver BiDi
- Server Mode Auto-refresh Does Not Work in Docker HOT 3
- Different styling in HTML and PDF HOT 2
- Investigate about Node.js single executable applications HOT 1
- Add HTML head meta icon customization HOT 1
- Cache issue with ?pdf HOT 3
- [Bespoke transitions] Compatibility with Safari
- marp.exe rendering and watch mode do not work in msys on Windows 10 (i.e. git-bash) HOT 1
- The `punycode` module is deprecated. HOT 3
- Can't watch md file when passed a theme HOT 1
- fs.Stats constructor is deprecated.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marp-cli.