html_fragment_example
Version, currently main branch1 version
- main branchlatestFeb 17, 2024
github.com/jgaskins/html_fragment_example
HTML template fragments example
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
html_fragment_example:
github: jgaskins/html_fragment_example
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
>= 1.11.2- License
- MIT
- Author
- Jamie Gaskins
- Target
html_fragment_examplefrom src/html_fragment_example.cr
Dependencies
Runtime Dependencies
README
Armature HTML Fragment Example
This is an example of HTML template-fragment rendering for use with tools like HTMX.
Usage
Check out the live demo, or to run it locally, clone the repo:
git clone https://github.com/jgaskins/html_fragment_example
Install dependencies:
shards install
Then run the app:
crystal run src/html_fragment_example.cr
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/jgaskins/html_fragment_example/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Jamie Gaskins - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- Feb 17, 2024
- Crystal
>= 1.11.2- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/jgaskins/html_fragment_example
Metadata
- Created
- Aug 12, 2026
- Updated
- Sep 26, 2026
- Synced
- Sep 26, 2026
- Versions
- 1