Skip to content

Commit dc317b0

Browse files
authored
Prettier installation instructions (#273)
1 parent f70139f commit dc317b0

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

DifferentiationInterface/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,20 @@ We support all of the backends defined by [ADTypes.jl](https://github.com/SciML/
5353
To install the stable version of the package, run the following code in a Julia REPL:
5454

5555
```julia
56-
julia> using Pkg
56+
using Pkg
5757

58-
julia> Pkg.add("DifferentiationInterface")
58+
Pkg.add("DifferentiationInterface")
5959
```
6060

6161
To install the development version, run this instead:
6262

6363
```julia
64-
julia> using Pkg
64+
using Pkg
6565

66-
julia> Pkg.add(
67-
url="https://github.com/gdalle/DifferentiationInterface.jl",
68-
subdir="DifferentiationInterface"
69-
)
66+
Pkg.add(
67+
url="https://github.com/gdalle/DifferentiationInterface.jl",
68+
subdir="DifferentiationInterface"
69+
)
7070
```
7171

7272
## Example

DifferentiationInterfaceTest/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,23 @@ Make it easy to know, for a given function:
3333
To install the stable version of the package, run the following code in a Julia REPL:
3434

3535
```julia
36-
julia> using Pkg
36+
using Pkg
3737

38-
julia> Pkg.add("DifferentiationInterfaceTest")
38+
Pkg.add("DifferentiationInterfaceTest")
3939
```
4040

4141
To install the development version, run this instead:
4242

4343
```julia
44-
julia> using Pkg
44+
using Pkg
4545

46-
julia> Pkg.add(
47-
url="https://github.com/gdalle/DifferentiationInterface.jl",
48-
subdir="DifferentiationInterface"
49-
)
46+
Pkg.add(
47+
url="https://github.com/gdalle/DifferentiationInterface.jl",
48+
subdir="DifferentiationInterface"
49+
)
5050

51-
julia> Pkg.add(
52-
url="https://github.com/gdalle/DifferentiationInterface.jl",
53-
subdir="DifferentiationInterfaceTest"
54-
)
51+
Pkg.add(
52+
url="https://github.com/gdalle/DifferentiationInterface.jl",
53+
subdir="DifferentiationInterfaceTest"
54+
)
5555
```

0 commit comments

Comments
 (0)