Markdown code blocks migration part 7 (#20547)
This commit is contained in:
parent
13b3ea71da
commit
19ff746916
17 changed files with 426 additions and 411 deletions
|
|
@ -69,8 +69,9 @@ proc openDefaultBrowser*(url: string) =
|
|||
##
|
||||
## This proc doesn't raise an exception on error, beware.
|
||||
##
|
||||
## .. code-block:: nim
|
||||
## ```nim
|
||||
## block: openDefaultBrowser("https://nim-lang.org")
|
||||
## ```
|
||||
doAssert url.len > 0, "URL must not be empty string"
|
||||
openDefaultBrowserImpl(url)
|
||||
|
||||
|
|
@ -85,10 +86,11 @@ proc openDefaultBrowser*() {.since: (1, 1).} =
|
|||
##
|
||||
## This proc doesn't raise an exception on error, beware.
|
||||
##
|
||||
## ```nim
|
||||
## block: openDefaultBrowser()
|
||||
## ```
|
||||
##
|
||||
## **See also:**
|
||||
##
|
||||
## * https://tools.ietf.org/html/rfc6694#section-3
|
||||
##
|
||||
## .. code-block:: nim
|
||||
## block: openDefaultBrowser()
|
||||
openDefaultBrowserImpl("http:about:blank") # See IETF RFC-6694 Section 3.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue