Skip to content

Commit

Permalink
Example type missing
Browse files Browse the repository at this point in the history
  • Loading branch information
iagobaapellaniz committed Mar 29, 2024
1 parent bfcd1a8 commit bb3c004
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ StructTypes.StructType(::Type{ListAttributes}) = StructTypes.CustomStruct()
StructTypes.lower(e::ListAttributes) = [e.number, Dict("t" => e.style), Dict("t" => e.delim)]
function ListAttributes(d::Vector)
number, style, delim = d
style = if style["t"] == "Decimal"
style = if style["t"] == "Example"
ListNumberStyle.Example
elseif style["t"] == "Decimal"
ListNumberStyle.Decimal
elseif style["t"] == "LowerRoman"
ListNumberStyle.LowerRoman
Expand Down

0 comments on commit bb3c004

Please sign in to comment.