From c1d49d87cf826a99dbd5841d934e2e54bc29f0c3 Mon Sep 17 00:00:00 2001 From: Christopher Sahnwaldt Date: Fri, 15 Jun 2018 01:57:38 +0200 Subject: [PATCH] README.md: builder options attrkey and charkey Builder supported options `attrkey` and `charkey` since forever, but they were not mentioned in section "Options for the Builder class". I copied them from the "Options" section. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index fdc609d0..8f03b8c0 100644 --- a/README.md +++ b/README.md @@ -373,6 +373,10 @@ Options for the `Builder` class These options are specified by ``new Builder({optionName: value})``. Possible options are: + * `attrkey` (default: `$`): Prefix that is used to access the attributes. + Version 0.1 default was `@`. + * `charkey` (default: `_`): Prefix that is used to access the character + content. Version 0.1 default was `#`. * `rootName` (default `root` or the root key name): root element name to be used in case `explicitRoot` is `false` or to override the root element name. * `renderOpts` (default `{ 'pretty': true, 'indent': ' ', 'newline': '\n' }`):