-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdown example #16
Markdown example #16
Conversation
…. Add index.html of Markdown example. Add Vim scratch files to .gitignore
…er version control, otherwise Gradle wrapper doesn't work
…element in index.html that shows the converted Markdown as HTML.
Nice example. Thanks. |
So, you managed to fix the issue in the web browser? |
Thanks! I'll sync with the repo and make another PR this week or the next (I'm a bit busy at the moment). What issue in the web browser are you referring to, @renaudpawlak? |
Thanks for fixing ToDos.java, Renaud! I removed this comment from ToDos.java since I think it doesn't apply anymore:
|
Thank you very much. I merged and I will check later if it works well. |
Hi!
I'd like to contribute an example that uses marked to convert Markdown text to HTML in the browser using JSweet.
I've added a new index.html in webapp/markdown. The Java file being transpiled to JavaScript is examples/markdown/MarkdownExample.java.
I had to comment out ToDos.java since it wouldn't compile.
I took the liberty to adapt build.gradle so we can use the Gradle wrapper now. The instructions for trying out the examples thus become:
git clone https://github.com/cincheo/jsweet-examples.git
cd jsweet-examples
./gradlew jsweet
(Gradle is not required to be installed)