Skip to content

Commit c102c6f

Browse files
committed
Use markdown for the badge so it gets picked up by the site
1 parent ae213d1 commit c102c6f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/JSOTutorials.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ function badge(name, version)
106106
"000", "fff"
107107
end
108108

109-
badge_img = "<img class=\"badge\" src=\"https://img.shields.io/badge/$name-$version-$color?style=flat-square&labelColor=$lbl_color\">"
109+
badge_img = "![$name $version](https://img.shields.io/badge/$name-$version-$color?style=flat-square&labelColor=$lbl_color\")"
110110
if name in jso_pkgs
111111
link = "https://juliasmoothoptimizers.github.io/$name.jl/stable/"
112-
"<a href=\"$link\">$badge_img</a>"
112+
"[$badge_img]($link)"
113113
else
114114
badge_img
115115
end

tutorials/introduction-to-linear-operators/index.jmd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ tags: ["linear-algebra", "linear-operators"]
44
author: "Geoffroy Leconte and Dominique Orban"
55
---
66

7-
[LinearOperators.jl](https://juliasmoothoptimizers.github.io/LinearOperators.jl/stable) is a package for matrix-like operators.
8-
Linear operators are defined by how they act on a vector, which is useful in a variety of situations where you don't want to materialize the matrix.
7+
[LinearOperators.jl](https://juliasmoothoptimizers.github.io/LinearOperators.jl/stable) is a package for matrix-like operators. Linear operators are defined by how they act on a vector, which is useful in a variety of situations where you don't want to materialize the matrix.
98

109
\toc
1110

0 commit comments

Comments
 (0)