Skip to content

Commit ae57894

Browse files
committed
Add note to porting docs
1 parent 3afe98f commit ae57894

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

markdown_it/port.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
this is generally the main difference between the codes,
1212
because in python you can't do e.g. `for {i=1;i<x;i++} {}`
1313
- Use python version of `charCodeAt`
14+
- |
15+
Use python's built-in `html.escape` and `urlparse.quote` methods, as a replacement for
16+
the JS dependencies [mdurl](https://www.npmjs.com/package/mdurl)
17+
and [punycode](https://www.npmjs.com/package/punycode)
1418
- |
1519
Remove indirect references within `MarkdownIt`;
1620

0 commit comments

Comments
 (0)