Skip to content

Commit

Permalink
feat: make public API available without Kroki prefix
Browse files Browse the repository at this point in the history
Apart from the string literals, the `Diagram` type and `render` function
make up the main public API of the package. The string literals are
already `export`ed, but this type and function were not fully exposed
publicly. To make it easier to support scenarios that require the use of
these explicitly, they are now `export`ed as well.
  • Loading branch information
bauglir committed Jul 5, 2022
1 parent 8b6e102 commit 1a95734
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Kroki.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ using .Documentation
include("./kroki/service.jl")
using .Service: ENDPOINT

export Diagram, render

"""
A representation of a diagram that can be rendered by a Kroki service.
Expand Down

0 comments on commit 1a95734

Please sign in to comment.