Comments (15)
@hugozap that's also what I'm looking for, did you a way to do that?
from reveal-md.
Maybe a service like https://ngrok.com or https://localtunnel.me is what you guys are after? Just Google for "share local website".
from reveal-md.
@webpro no, it's more about doing something like
reveal-md slides.md --build-static dist/
which would package the html/css/javascript to be hosted has a static page (like a github page)
from reveal-md.
Ah. That shouldn't be too hard. It's just writing to HTML files instead of res.send
-ing it with Express.
from reveal-md.
indeed! just tried to
res.send(build)
fs.writeFile('./index.html', build)
and got my html file!
All that was missing then was then to correct the links to the associated reveal css and js files (and also my images), and done :)
from reveal-md.
So maybe you can send a PR to put this behind e.g. --dist [dir]
?
from reveal-md.
I tried to have a look at that, but I'm a bit confused on how to use commander to get the options, gather reveal files and handle href
and src
possible need to be rewritten
from reveal-md.
theoretically this could even be integrated with GitHub pages, and a --publish option added
from reveal-md.
--publish
is what I'm looking for, similar to make html
found in python's sphinx tool
markdown -> render -> gh-pages is really powerful, mostly because it's so easy.
from reveal-md.
Was this closed because it was fixed or for cleaning the open issues?
I just started using your project (thanks!) and I would like to generate a .html
file that I can use in my gh-pages
. It doesn't look like there is an easy way of doing that at the moment.
Could you perhaps add some workaround explanation to the README.md
?
from reveal-md.
It was a cleanup round indeed, apologies for not making that clear. I'm
happy to re-open if somebody offers an actual solution or work-around.
On Sunday, June 21, 2015, Alexandre González [email protected]
wrote:
Was this closed because it was fixed or for cleaning the open issues?
I just started using your project (thanks!) and I would like to generate a
.html file that I can use in my gh-pages. It doesn't look like there is
an easy way of doing that at the moment.Could you perhaps add some workaround explanation to the README.md?
—
Reply to this email directly or view it on GitHub
#24 (comment).
Sent from Gmail Mobile
from reveal-md.
Is there any way out to have my presentation saved on disk?
In which file I should edit
res.send(build)
fs.writeFile('./index.html', build)
according to @maxlath
from reveal-md.
Or simply a "save page" in the browser.
from reveal-md.
But nothing was rendered on the browser when I opened the saved HTML document.
from reveal-md.
Is there another way out?
Can you give me solution that was used by @maxiath?
I mean which file to modify to be able to render html.
from reveal-md.
Related Issues (20)
- How to set Mathjax with local file? HOT 1
- Support for fragments HOT 3
- Support for `data-line-numbers` HOT 5
- Is it capable of displaying math formulation? HOT 2
- zenburn.css no longer in highlight.js styles folder after I upgraded to reveal-md 5.3.3 (just now) HOT 4
- 安装后不识别命令reveal-md HOT 3
- Customize static site base URL (example gitub pages organisation repo) HOT 1
- 安装一直卡住
- 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
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.