Comments (12)
Would be awesome to just auto gen HTML with a command then push up on gh-pages!
from reveal-md.
Not sure if I understand. You can provide a directory and see the Markdown
files. What exactly do you need?
On Sunday, 27 September 2015, Justin Kiggins [email protected]
wrote:
I love using reveal.md & how it lets me go quickly from outline to a
presentation. However, then I find myself wanting to more carefully tweak a
presentation & I want access to the full HTML.I'd love to be able to run reveal-md slides.md --html and get a directory
called slides with an HTML file & required assets.โ
Reply to this email directly or view it on GitHub
#47.
Sent from Gmail Mobile
from reveal-md.
As I understood, he wants a feature to export
the presentation as HTML
. Once the required command is fired, all the necessary files
(CSS, JS, images etc.) should be stored in a different directory along with an index.html
file.
It would be useful for porting the presentation to a different computer(that don't have nodejs and reveal-md) and present it just by double clicking index.html in browser.
from reveal-md.
yes, exactly.
from reveal-md.
OK thanks for explanation.
The browser has a "Save page" option that does the same?
On Sunday, 27 September 2015, Justin Kiggins [email protected]
wrote:
yes, exactly.
โ
Reply to this email directly or view it on GitHub
#47 (comment).
Sent from Gmail Mobile
from reveal-md.
No. I tried it once, and I got a blank page(on Chrome at least).
@neuromusic Can you please try again and tell?
from reveal-md.
What exactly were the issues? Because if we would have an "export to HTML" feature, it would do pretty much the same, right?
from reveal-md.
Saving as a complete web page from Chrome doesn't work.
A few links to resources seem to be generated on the fly with paths like /plugin/markdown/marked.js
. Saving HTML from Chrome flattens everything in a folder named after the file you save the HTML to and rewrites all the references it found from <script>
and <link>
tags. This rewrite step would be missing the paths embedded in js.
from reveal-md.
wow yes, an option to export the presentation as a static HTML instead of starting a server would be really awesome!!
from reveal-md.
I guess I did something like this now :)
use e.g.
reveal-md example.md --static > reveal.js/index.html
As you see you have to download the reveal.js to some place and extract the folder to save the exported static html file right there.
The pull request is this: #55
Maybe some one wants to build something that compiles all assets into one single html file. There probably is already a package somewhere on npm that can do exactly this
from reveal-md.
A bit more on the issue with Ctrl + S
and temporary solution.
Using Ctrl + S
I get a website referencing resources as such:
<link rel="stylesheet" href="./Reveal_files/reveal.css">
Using Ctrl + U
to view at the source of the page the link becomes:
<link rel="stylesheet" href="/css/reveal.css">
Now the later I can save to an index.html
and put it in a folder with the reveal.js
resources to have a html version of the presentation. I feel like this is what @rapilabs was talking about, but hopefully more clearly illustrates the issue with just "saving" the website.
It would be a really great feature to get a single .html
that I can then just move around and open anywhere. With all the js and css files included. Idealy I think even all the image base64 encoded in it.
from reveal-md.
Thanks, @xy124. I installed this library thinking I could export to HTML, but it's not useful to me if it can't. I'll try using your fork for now, thanks again.
from reveal-md.
Related Issues (20)
- ๅฎ่ฃ ไธ็ดๅกไฝ
- Patch for issue#409 is not sufficient and the protection can be bypassed by an attacker HOT 1
- Failed to generate pdf HOT 2
- open speaker view and "hashOneBasedIndex": true; HOT 2
- Is there a support for animating between code blocks? HOT 2
- Fragment target HOT 1
- watching server vs. static files are not matching file paths HOT 2
- Absolute URL with sub-directory does not work with custom theme and CSS HOT 1
- web video display problem
- Can you provide the Settings that can be filled in yaml formatter markdown head? HOT 2
- `--static` with `--theme` generate the `index.html` with the wrong path of `theme.css` HOT 2
- JSON configuration files not found when targeting markdown files outside the current directory HOT 1
- Support Reveal's Lazy Loading HOT 1
- Font rendering regression HOT 1
- Can i change font color? HOT 1
- Do not assume node_modules path HOT 3
- very high UID prevents download in rootless podman HOT 4
- Image paths referencing parent directory not working HOT 1
- Local test failures HOT 1
- Internal links not working in some cases with vertical slides HOT 4
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 reveal-md.