Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bunopnu committed Oct 29, 2023
1 parent 8e4382a commit bdcc8fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/e2h.erl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
%% == Example ==
%%
%% ```
%% Attributes = [{<<"type">>, <<"password">>}, {id, <<"my-element">>}, disabled].
%% Attributes = [{<<"type">>, <<"password">>}, {<<"id">>, <<"my-element">>}, <<"disabled">>].
%% % Represents attributes like: type="password" id="my-element" disabled
%% '''
%%
Expand All @@ -38,7 +38,7 @@
%% {<<"div">>, [{<<"class">>, <<"container">>}], [
%% {<<"p">>, [], [<<"This is a paragraph.">>]},
%% {<<"a">>, [{<<"href">>, <<"#">>}], [<<"Click me">>]},
%% {img, [{src, <<"https://example.com/image.png">>}]}
%% {<<"img">>, [{<<"src">>, <<"https://example.com/image.png">>}]}
%% ]}
%% ].
%% '''
Expand Down

0 comments on commit bdcc8fa

Please # to comment.