Skip to content

Commit

Permalink
add br element
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Sep 30, 2021
1 parent 7180494 commit d7c2c97
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PlutoUI"
uuid = "7f904dfe-b85e-4ff6-b463-dae2292396a8"
authors = ["Fons van der Plas <[email protected]>"]
version = "0.7.13"
version = "0.7.14"

[deps]
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
Expand Down
13 changes: 13 additions & 0 deletions src/PlutoUI.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,17 @@ end
include("./Scrubbable.jl")
end

export br
"""
Line break without creating a new paragraph. Useful inside the `md"` macro:
# Example
```julia
md"\""
Hello \$br world!
"\""
```
"""
const br = HTML("<br>")

end

2 comments on commit d7c2c97

@fonsp
Copy link
Member Author

@fonsp fonsp commented on d7c2c97 Sep 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/45834

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.7.14 -m "<description of version>" d7c2c979a683ffd459808a0675f5af6e6dcee4c1
git push origin v0.7.14

Please sign in to comment.