bdarcus / csl-next

An experimental reimagining of CSL
Mozilla Public License 2.0
8 stars 0 forks source link

template, locale refactoring #102

Closed bdarcus closed 1 year ago

bdarcus commented 1 year ago

Close: #45 #103


WIP.

On locales, would now be:

title: a locale file
description: foo bar
locale: en-US
punctuationInQuote: true
terms:
  available:
    single: available

Still TBD: how much more of 1.0 I need to port, given the enhanced localization options here.

Also, still need to think about this alternative on this, which is the idea that terms are always attached to other pieces of rendered content. Perhaps there are other ways to handle that though (like, terms and text don't render within a list unless other content does).

- template: container-apa
  prefix:
    term: in
    emph: true