Skip to content

Commit

Permalink
📦 Source-code reorganization
Browse files Browse the repository at this point in the history
  • Loading branch information
ronisbr committed Sep 16, 2020
1 parent b1520a1 commit 954eb1c
Show file tree
Hide file tree
Showing 6 changed files with 413 additions and 342 deletions.
1 change: 1 addition & 0 deletions src/PrettyTables.jl
Expand Up @@ -37,6 +37,7 @@ include("helpers.jl")
include("misc.jl")
include("predefined_formatters.jl")
include("print.jl")
include("private.jl")
include("tables.jl")

# Backends
Expand Down
3 changes: 2 additions & 1 deletion src/backends/html/print.jl
Expand Up @@ -13,7 +13,8 @@ function _pt_html(io::IO, pinfo::PrintInfo;
linebreaks::Bool = false,
noheader::Bool = false,
nosubheader::Bool = false,
standalone::Bool = true)
standalone::Bool = true,
kwargs...)

@unpack_PrintInfo pinfo
@unpack_HTMLTableFormat tf
Expand Down
3 changes: 2 additions & 1 deletion src/backends/latex/print.jl
Expand Up @@ -18,7 +18,8 @@ function _pt_latex(io::IO, pinfo::PrintInfo;
nosubheader::Bool = false,
row_number_alignment::Symbol = :r,
table_type::Symbol = :tabular,
vlines::Union{Nothing,Symbol,AbstractVector} = nothing)
vlines::Union{Nothing,Symbol,AbstractVector} = nothing,
kwargs...)

@unpack_PrintInfo pinfo

Expand Down
3 changes: 2 additions & 1 deletion src/backends/text/print.jl
Expand Up @@ -40,7 +40,8 @@ function _pt_text(io::IO, pinfo::PrintInfo;
title_autowrap::Bool = false,
title_crayon::Crayon = Crayon(bold = true),
title_same_width_as_table::Bool = false,
vlines::Union{Nothing,Symbol,AbstractVector} = nothing)
vlines::Union{Nothing,Symbol,AbstractVector} = nothing,
kwargs...)

@unpack_PrintInfo pinfo

Expand Down

0 comments on commit 954eb1c

Please sign in to comment.