Wiki2Presentation: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
The -s flag makes it a standalone html file with links to the slidy javascript from w3c. | The -s flag makes it a standalone html file with links to the slidy javascript from w3c. | ||
Slidy magically breaks the wiki page into slides according to the biggest heading size you are using (i think). | |||
how to add css to make it POP? | ===how to include the images?=== | ||
A hack I'm using at the moment is to save the page locally as html from my browser which, then find and replace | |||
<img src=" | |||
with | |||
<img src="./img/300px- | |||
But this will only work if your page is only displaying 300px thumnail version of all images. | |||
===how to add css to make it POP?=== | |||
At the moment I'm also just editing the outputted html, putting a <style> tag in the head. |
Revision as of 18:49, 15 June 2024
If you have pandoc installed you can use
?action=raw
at the end of a wiki url to generate a slidy presentation from the command line:
pandoc -f mediawiki -t slidy "https://pzwiki.wdka.nl/mediadesign/User:Ssstephen/Final_presentation?action=raw" -s -o presentation.html
The -s flag makes it a standalone html file with links to the slidy javascript from w3c.
Slidy magically breaks the wiki page into slides according to the biggest heading size you are using (i think).
how to include the images?
A hack I'm using at the moment is to save the page locally as html from my browser which, then find and replace
<img src="
with
<img src="./img/300px-
But this will only work if your page is only displaying 300px thumnail version of all images.
how to add css to make it POP?
At the moment I'm also just editing the outputted html, putting a <style> tag in the head.