Skip to content

Commit

Permalink
Footnote documentation - add example
Browse files Browse the repository at this point in the history
The current example didn't contain a footnote to test. Anyone copying and pasting the example would have been confused (I know I was!)
  • Loading branch information
edent authored Sep 3, 2024
1 parent b650144 commit e39d4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/2.5/extensions/footnotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ $environment->addExtension(new FootnoteExtension());

// Instantiate the converter engine and start converting some Markdown!
$converter = new MarkdownConverter($environment);
echo $converter->convert('# Hello World!');
echo $converter->convert("This is a footnote[^test] test.\n\n[^test]: Doesn't it look good!");
```

## Configuration
Expand Down

0 comments on commit e39d4ed

Please sign in to comment.