Praxxian / lava-flow

A Foundry VTT module that allows you to import your notes from Obsidian MD into Foundry journal entries.
MIT License
68 stars 11 forks source link

Lines starting with obsidian tags gets parsed as a header #34

Closed cramt closed 9 months ago

cramt commented 1 year ago

Obsidian: image Foundry: image

The difference between a tag and a header can be known by whether or not there is a space between the # and the next eg # header, #tag

Praxxian commented 1 year ago

Looks like showdown, the library used to convert markup, has an option for this that is off by default (requireSpaceBeforeHeadingText). I'll see if I can set this flag.

Praxxian commented 9 months ago

Fixed in release 3.0.2.

denver-andy commented 7 months ago

This issue does not appear to be resolved.

I installed lava-flow today (v3.1.0 on Foundry v11 build 315). When I imported my vault, my tags are showing as headers.

To reproduce:

Markdown file "Dripping Blood Tribe.md": `#Session000 #Faction

A tribe of goblins that is growing numbers. Active in the [[Central Valley]], it is believed that a powerful shaman, versed in blood magic and dark rituals, leads the tribe. Rumors say that the shaman can summon creatures to fight for the goblins and to cast curses on their foes.`

Results in:

Screenshot 2024-04-05 at 4 09 26 PM