Skip to content
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

Get a MWE (minimal working exemple) in the README.md to demonstrate basic features #8

Open
samusz opened this issue Jun 2, 2021 · 5 comments

Comments

@samusz
Copy link

samusz commented Jun 2, 2021

I feel the use of LaTeX should be encouraged with this package enabling KaTeX in Genie.

Also, I would like to try this out, but I am not sure how to use it in my Genie app.

So a MWE would be nice in the README.

(A detailed documentation would simply follow, I guess).

@hhaensel
Copy link
Member

@essenciary
We could paste my example from the latest PR in the MWE, what do you think?

@essenciary
Copy link
Member

@hhaensel agree

Just a bit concerned about the route section. The global doesn't look like good practice. Would be good to "compact" the code in route and remove the global.

image

Something like this should work too?

route("/") do
    page(@init(), ui()) |> html
end

@hhaensel
Copy link
Member

Have a look at the README.md

@hhaensel
Copy link
Member

@samusz can we close this?

@samusz
Copy link
Author

samusz commented Apr 18, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants