Skip to content

Commit

Permalink
Add URL encoding in style guide
Browse files Browse the repository at this point in the history
  • Loading branch information
astonzhang authored Aug 4, 2022
1 parent d5fc1c3 commit 398a429
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions STYLE_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,14 @@
* Refer to [d2lbook](https://book.d2l.ai/user/markdown.html#cross-references) on how to add references for figure, table and equations.


## URL

When setting `style = cambridge`, URLs will be converted into QR code, which requires replacing special characters with [URL encoding](https://www.urlencoder.io/learn/). For example:

`Stanford's [large movie review dataset](https://ai.stanford.edu/~amaas/data/sentiment/)`
->
`Stanford's [large movie review dataset](https://ai.stanford.edu/%7Eamaas/data/sentiment/)`


## Citations

Expand Down

0 comments on commit 398a429

Please sign in to comment.