Skip to content

Commit

Permalink
feat(join) : add list formatting options (#170)
Browse files Browse the repository at this point in the history
* feat(join) : add list formatting options

Signed-off-by: Dan Selman <[email protected]>

* feat(join) : add list formatting options

Signed-off-by: Dan Selman <[email protected]>

---------

Signed-off-by: Dan Selman <[email protected]>
  • Loading branch information
dselman authored Jul 3, 2023
1 parent 1f228fb commit 63852b6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/markdown/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,13 @@ concept OptionalDefinition extends BlockDefinition {
o Child[] whenSome
o Child[] whenNone
}

concept JoinDefinition extends BlockDefinition {
o String separator
o String lastSeparator optional
// if separator is set, we just use that
o String separator optional
// if separator is not set, we use the Intl.ListFormat, paramaterized by locale, type and style
o String locale optional
o String type optional
o String style optional
}

concept ListBlockDefinition extends BlockDefinition {
Expand Down

0 comments on commit 63852b6

Please sign in to comment.