Skip to content

Warn that @ansi is deprecated now #277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
6 changes: 6 additions & 0 deletions src/ANSIBlocks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
return
end

Base.depwarn(

Check warning on line 27 in src/ANSIBlocks.jl

View check run for this annotation

Codecov / codecov/patch

src/ANSIBlocks.jl#L27

Added line #L27 was not covered by tests
"The `@ansi` block is deprecated, `@example` does everything including ANSI highlighting now. Please use that instead.",
Copy link
Collaborator

Choose a reason for hiding this comment

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

could you please updates the docs examples? to see it in action!

:dv_ansiblock;
force = true
)

# The sandboxed module -- either a new one or a cached one from this page.
mod = Documenter.get_sandbox_module!(page.globals.meta, "atexample", name)

Expand Down
Loading