NLESC-JCER / cpp2wasm

Guide to make C++ available as a web application
https://nlesc-jcer.github.io/cpp2wasm/
Apache License 2.0
22 stars 6 forks source link

Link to running html examples #36

Closed sverhoeven closed 4 years ago

sverhoeven commented 4 years ago

As a reader it would be nice to run the html examples without have to entangle or build anything. For example I can locally look at http://localhost:8000/src/js/example-app.html after make build-wasm. It would be nice if https://nlesc-jcer.github.io/cpp2wasm/src/js/example-app.html would also work. Then the Markdown could be adjusted to include a link to https://nlesc-jcer.github.io/.. next to the localhost link or even better a linked screenshot of the example. For example a screenshot like

image

This would make writing the blog #34 also more natural.

sverhoeven commented 4 years ago

Example link would work without entangle and build Blocked when #35 and #1 have been fixed.

sverhoeven commented 4 years ago

We can use docsify embedding to embed the example html pages with

[Embedded src/js/example-app.html](src/js/example-app.html ':include :type=iframe width=100% height=160px')
sverhoeven commented 4 years ago

Issue is no longer blocked as #1 and #35 have been merged. https://nlesc-jcer.github.io/cpp2wasm/src/js/example-app.html now works as expected.

sverhoeven commented 4 years ago

Fixed in https://github.com/NLESC-JCER/cpp2wasm/releases/tag/v0.2.0