Replies: 1 comment
-
Hi @gedw99 go-content component provide some content styling for its children. The you can use it without compiling by just referencing the CSS and JS files from CDN, just add these 2 lines in your HTML
then you can use
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey @seanwuapps
I noticed that the "go content" component can read markdown files.
https://www.go-ui.com/docs/components/go-content
I am thinking of using this for a few projects. I have not down JS for many years, and do golang these days. I used to do JS with jQuery and AJAX
Can I use the components without compiling, and just include as ESM modules ?
I plan to then use this with HTMX. The idea is that the markdown is still used as a base, but the markdown is rendered with data from the DB - its a bit like Hugo ( golang static site generate ) , then the HTMX is just swapping out parts on the page, based on user responses.
When the HTML hits the browser, it will then ( I presume ) pull the markdown from the server and render in the Browser. If I am totally of base please feel free to steer me here :)
Beta Was this translation helpful? Give feedback.
All reactions