modality / obsidian-text-mapper

Render beautiful hex maps in Obsidian.md
MIT License
37 stars 9 forks source link

All path names are being created on top of one another. #8

Closed matalina closed 10 months ago

matalina commented 1 year ago

All the paths with names are putting text on path.

Screenshot 2023-11-13 125358

Text


\```text-mapper
-0103 ocean
-0104 ocean
-0105 ocean

0001 ocean
0002 ocean
0003 soil forest
0004 soil forest
0005 ocean
0006 ocean
0007 ocean

0101 ocean
0102 dust grass
0103 soil forest
0104 soil forest
0105 soil forest
0106 ocean
0107 ocean
0108 ocean

0200 ocean
0201 dust grass town "Terravale"
0202 light-green hill
0203 light-green hill
0204 dark-green marsh
0205 dust swamp
0206 dust grass
0207 ocean
0208 ocean

0300 ocean
0301 dust grass
0302 light-green hill
0303 light-green hill
0304 light-green hill
0305 dark-green marsh
0306 dark-green marsh
0307 dust swamp
0308 soil mountains
0309 ocean

0400 ocean
0401 soil hill
0402 light-green grass
0403 light-green hill
0404 light-green hill
0405 rock mountains
0406 rock mountains town "Malum"
0407 rock mountains
0408 dust grass
0409 ocean

0500 ocean
0501 ocean
0502 dust grass
0503 light-green grass
0504 light-green fields
0505 light-grey city "Everlight"
0506 rock mountains
0507 rock mountains
0508 dust grass
0509 dust desert
0510 ocean

0600 ocean
0601 ocean
0602 dust grass
0603 light-green fields
0604 rock mountains
0605 rock mountains
0606 light-green grass
0607 light-green grass
0608 light-green grass
0609 dust desert
0610 ocean

0701 ocean
0702 dust grass
0703 light-green grass town "Valestream"
0704 rock mountains
0705 light-green grass
0706 light-green grass
0707 light-green grass
0708 light-green grass
0709 dust grass
0710 ocean

0800 ocean
0801 dust grass
0802 light-green grass
0803 dust grass
0804 dust grass
0805 light-green grass
0806 light-green grass
0807 dark-green marsh
0808 dust swamp
0809 ocean

0901 ocean
0902 dust desert
0903 dust desert
0904 ocean
0905 dust grass
0906 dust grass
0907 light-green grass
0908 dust swamp town "Willow's Edge"
0909 ocean

1001 ocean
1002 ocean
1003 ocean
1004 ocean
1005 ocean
1006 dust grass
1007 dust grass
1008 ocean
1107 ocean
1108 ocean

0704-0603-0602-0702-0701 river "Valestream River"
0605-0706-0805-0806-0707-0807-0908-0909 river "Serpent's Tail River"
0005-0105-0204-0305-0405 river "Masrhwallow River"

0505-0506-0406 trail "H20"
0505-0504-0603-0703 trail "H20"
0505-0404-0403-0303-0202-0201 trail "H20"
0908-0808-0608-0406 trail "H20"
0406-0307-0206-0205-0105-0104-0102-0201 trail "H20
0201-0703 trail "H20"
0703-0804-0908 trail "H20"
0905-0505 trail "H20"
\```
PurpleGuitar commented 11 months ago

I think I found the bug causing this behavior. I submitted a PR with my proposed fix:

https://github.com/modality/obsidian-text-mapper/pull/9

modality commented 10 months ago

I merged @PurpleGuitar's PR. Strangely, I didn't have this issue. Example:

Screenshot 2024-01-12 at 6 17 03 PM

Closing this for now.