Skip to content

Commit

Permalink
chore: update heading example (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
docxml authored Feb 7, 2024
1 parent f3c42b7 commit 40aa4a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @example
*
* ```js
* md.heading(1, 'Hello, World!');
* md.heading('Hello, World!', 1);
* // => "\n# Hello, World!\n"
* ```
* @param text Heading title
Expand Down

0 comments on commit 40aa4a0

Please sign in to comment.