Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,4 +341,6 @@ StyledStrings.SimpleColor
StyledStrings.parse(::Type{StyledStrings.SimpleColor}, ::String)
StyledStrings.tryparse(::Type{StyledStrings.SimpleColor}, ::String)
StyledStrings.merge(::StyledStrings.Face, ::StyledStrings.Face)
StyledStrings.blend
StyledStrings.recolor
```
7 changes: 6 additions & 1 deletion docs/src/internals.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,26 @@ opening a pull request or issue to discuss making them part of the public API.
```@docs
StyledStrings.ANSI_4BIT_COLORS
StyledStrings.FACES
StyledStrings.MAX_COLOR_FORWARDS
StyledStrings.UNRESOLVED_COLOR_FALLBACK
StyledStrings.Legacy.ANSI_256_COLORS
StyledStrings.Legacy.NAMED_COLORS
StyledStrings.Legacy.RENAMED_COLORS
StyledStrings.Legacy.legacy_color
StyledStrings.Legacy.load_env_colors!
StyledStrings.ansi_4bit
StyledStrings.setcolors!
StyledStrings.face!
StyledStrings.getface
StyledStrings.load_customisations!
StyledStrings.loadface!
StyledStrings.loaduserfaces!
StyledStrings.resetfaces!
StyledStrings.rgbcolor
StyledStrings.termcolor
StyledStrings.termcolor24bit
StyledStrings.termcolor8bit
StyledStrings.load_customisations!
StyledStrings.try_rgbcolor
```

## Styled Markup parsing
Expand Down
4 changes: 2 additions & 2 deletions src/StyledStrings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ using Base.ScopedValues: ScopedValue, with, @with
# While these are imported from Base, we claim them as part of the `StyledStrings` API.
export AnnotatedString, AnnotatedChar, AnnotatedIOBuffer, annotations, annotate!, annotatedstring

export @styled_str
public Face, addface!, withfaces, styled, SimpleColor
export @styled_str, Face, blend
public addface!, withfaces, styled, SimpleColor, recolor

include("faces.jl")
include("io.jl")
Expand Down
Loading
Loading