Skip to content

Commit

Permalink
HTML-15 Align README examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sbsoftware committed Aug 26, 2023
1 parent 1e87c65 commit fcbef0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ Another way to add attributes is via objects that implement `#to_tag_attrs`. The
This is still a bit experimental but the following example shows a few possible use cases, as well as the full potential of these macros.

```crystal
require "to_html"
class ObjectInterfaceView
ToHtml.instance_template do
div MyObject do
Expand Down

0 comments on commit fcbef0a

Please sign in to comment.