From 42d2c3088e1f869148fd6eb1fdce2b33f859dc2d Mon Sep 17 00:00:00 2001 From: Juan Carlos Date: Tue, 31 Mar 2020 10:47:57 -0300 Subject: Add Documentation (#13811) * Add more Docs and runnableExamples --- lib/pure/browsers.nim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/pure/browsers.nim') diff --git a/lib/pure/browsers.nim b/lib/pure/browsers.nim index ee302f950..81a231aa2 100644 --- a/lib/pure/browsers.nim +++ b/lib/pure/browsers.nim @@ -33,6 +33,9 @@ proc openDefaultBrowser*(url: string) = ## used to determine the default browser to use. ## ## This proc doesn't raise an exception on error, beware. + ## + ## .. code-block:: nim + ## block: openDefaultBrowser("https://nim-lang.org") when defined(windows): var o = newWideCString(osOpenCmd) var u = newWideCString(url) -- cgit 1.4.1-2-gfad0 value='devel' selected='selected'>devel This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror)ahoang <ahoang@tilde.institute>
summary refs log tree commit diff stats
path: root/compiler/babelcmd.nim
blob: 956c6a6ae75efa55617e9ef325520ca69852c04b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90