Skip to content

Commit

Permalink
fixup! Add Options#base_url to allow resolving relative links
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Nov 28, 2019
1 parent b448039 commit 0f891eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -49,6 +49,8 @@ Markd.to_html(markdown, options)
| prettyprint | `Bool` | false | if **true**, code tags generated by code blocks will have a `prettyprint` class added to them, to be used by [Google code-prettify](https://github.com/google/code-prettify). |
| gfm | `Bool` | false | **Not support for now** |
| toc | `Bool` | false | **Not support for now** |
| base_url | `URI?` | nil | if not **nil**, relative URLs of links are resolved against this `URI`. It act's like HTML's `<base href="base_url">` in the context
# of a Markdown document. |

## Advanced

Expand Down

0 comments on commit 0f891eb

Please sign in to comment.