Skip to content

Commit

Permalink
Remove deprecated pdf function
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Feb 13, 2024
1 parent 0273da4 commit 8408f33
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/PlutoPDF.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import NodeJS_18_jll: node
import JSON
import DefaultApplication

export html_to_pdf, pluto_to_pdf, pdf
export html_to_pdf, pluto_to_pdf

# Stolen from https://discourse.julialang.org/t/collecting-all-output-from-shell-commands/15592
"Run a Cmd object, returning the stdout & stderr contents plus the exit code"
Expand Down Expand Up @@ -127,8 +127,6 @@ function pluto_to_pdf(
html_to_pdf(filename, output_path, screenshot_dir_path; kwargs...)
end

@deprecate pdf(args...; kwargs...) pluto_to_pdf(args...; kwargs...)

function tryexpanduser(path)
try
expanduser(path)
Expand Down

0 comments on commit 8408f33

Please sign in to comment.