modality / obsidian-text-mapper Goto Github PK
View Code? Open in Web Editor NEWRender beautiful hex maps in Obsidian.md
License: MIT License
Render beautiful hex maps in Obsidian.md
License: MIT License
Hi! I'm looking at the example image in the README as well as replicating it here, and what I'm seeing is that the other
line doesn't cause a display. For instance, I tried to do:
other <text x="100" y="100" font-size="96pt">Small Example</text>
and it didn't show up anywhere in the image or in the element inspector in devtools. I think this might just not yet be implemented, but I thought I'd ask if I was doing something wrong first!
I'm trying to name a chain of mountains that are curved, I would like the text to follow that shape.
Following the examples I found this:
text font-family="monospace" font-size="10pt"
label font-family="sans-serif" font-size="12pt"
glow fill="none" stroke="white" stroke-width="3pt"
default attributes fill="none" stroke="black" stroke-width="1px"
grass attributes fill="#90ee90"
grass path attributes stroke="#458b00" stroke-width="5px"
grass path M -20.-20 l 10.40 M 0.-20 v 40 M 20.-20 l -10.40
village path attributes fill="none" stroke="black" stroke-width="5px"
village path M -40,-40 v 80 h 80 v -80 z
sea attributes fill="#afeeee"
0101 grass
0102 be
0201 grass village "Beachton"
0202 sea "deep blue sea" 20
border path attributes stroke="red" stroke-width="15" stroke-opacity="0.5" fill-opacity="0"
0102-0101-0200 border "The Wall"
road path attributes stroke="black" stroke-width="3" fill-opacity="0" stroke-dasharray="10 10"
0302-0201-0001 road "The Road"
Indeed "The Wall" is curved, but how do I change the font size of just that text?
Thanks and sry for my english.
-0100--01-01 road
does not work. but it is supported by the online version of text mapper.
Currently I see no way how to connect tiles that reside in the negative X space
This is really fantastic. Can see a number of people interesting in this. I (Josh P) will be looking to do a video on the plugin showcasing its functionality.
A question I can predict is can you link a hex to a note? Similar to the Obsidian Leaflet functionality. That would be amazing and really allow you to take this all the way.
What: Submit this plugin to the official community plugin list.
Why: Easier installation. Sync across devices with Obsidian Sync. Better discoverability of the plugin.
How: See this guide. Seems like we're two-thirds of the way there already. It could technically be done by anyone, but I thought it would be more appropriate if it was done by the author.
Current:
-01-01 is at the same y height as 1.0
Expected:
-0100 should be at the same y height as 1.0
I really would love to see support for the Traveller map added. I'm using this for my Starforged adventures and it's already perfect for planetside content. If it could cover content in space as well, then I could just out right remove the excalcudraw plugin and use this exclusively.
All the paths with names are putting text on path.
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"
\```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.