Skip to content

Commit

Permalink
More README fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Dec 5, 2022
1 parent a12e151 commit e5a33cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,7 @@ To alter the AST with a filter:
``` lua
local src = "return { str = function(e) e.text = e.text:upper() end }"
local filter = djot.filter.load_filter(src)
djot.apply_filter(doc, filter)
djot.render_ast(doc)
djot.filter.apply_filter(doc, filter)
```

For a streaming parser:
Expand Down

0 comments on commit e5a33cb

Please sign in to comment.