book-source 0.3.13 → 0.3.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -371,9 +371,13 @@ documentParts.Anchor = Anchor ;
371
371
 
372
372
 
373
373
 
374
+ // All special types that could be rendered (have graphical representation)
375
+ const RENDERED_SPECIAL_TYPES = new Set( [ 'summary' ] ) ;
376
+
374
377
  function Special( special ) {
375
378
  this.type = 'special' ;
376
379
  this.special = special ;
380
+ this.rendered = RENDERED_SPECIAL_TYPES.has( special ) ;
377
381
  BlockContainerPart.call( this ) ;
378
382
  }
379
383
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "book-source",
3
- "version": "0.3.13",
3
+ "version": "0.3.14",
4
4
  "description": "A lightweight markup language, inspired by Markdown.",
5
5
  "main": "lib/book-source.js",
6
6
  "directories": {