Skip to content

Commit

Permalink
Fix argument order in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonkearns authored Nov 3, 2024
1 parent e36c3c6 commit 3fb1b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Markdown/Html.elm
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ you define for the tag's renderer.
import Markdown.Html
Markdown.Html.tag "contact-button"
(\children buttonText color ->
(\buttonText color children ->
Html.button
[ Attr.style "background-color" color ]
[ Html.text buttonText ]
Expand Down

0 comments on commit 3fb1b01

Please sign in to comment.