javalent / fantasy-statblocks

Create Dungeons and Dragons style statblocks for Obsidian.md
MIT License
358 stars 69 forks source link

MD Spell Link Escaping breaks spell list formatting #142

Closed jshank closed 1 year ago

jshank commented 1 year ago

Adding MD links to spells causes them to render incorrectly. I'm using frontmatter statblock: true and seeing the following

image

spells:
  - "The wizard is a 9th-level spellcaster. His spellcasting ability is Intelligence (spell save DC 14, +6 to hit with spell attacks). The spellcaster has the following wizard spells prepared:"
  - "Cantrips (at will): [[fire bolt]], [[light]], [[mage hand]], [[prestidigitation]]"
  - "1st level (4 slots): [[detect magic]], [[mage armor]], [[magic missile]], [[shield]]"
  - "2nd level (3 slots): [[misty step]], [[suggestion]]"
  - "3rd level (3 slots): [[counterspell]], [[fireball]], [[fly]]"
  - "4th level (3 slots): [[greater invisibility]], [[ice storm]]"
  - "5th level (1 slot): [[cone of cold]]"

I've tried the recommendation from #24 and it still renders incorrectly.

sigrunixia commented 1 year ago

Closing as this should be fixed. If this is still an issue, a new thread will be needed.