Open magnussentio opened 1 year ago
Sorry just saw this is a duplicate. Looks like no solution. If anyone sees this try using ASCII based graphs if looking to make bar graphs on mobile - but if desktop focused you can certainly do some cool stuff embedding javascript into a markmap!
Curious if there is a way to add a table visualization to markmap code so markdown formatted to be displayed as a table can be displayed as a polished table?
Howdy! I've been experimenting with markmap and have successfully been able to render javascript charts and tables as nodes in a markmap mindmap. Its pretty cool and simply requires adding div elements into the markdown, then relying on the javascript libraries to render the chart or table based on the div's id. Works well on desktop (biggest bug is that when the chart / table node collapses you have to add a custom function to rerender the chart / table, the BIG problem is on iOS mobile everything breaks - it appears to be related to an iOS bug that prevents javascript elements from properly scaling and rendering them in the incorrect position. Genuinely have no clue how you would solve this since this since it seems to be a long standing issue. You can observe the issue on the markmap.js.org example if on iOS - just use the try it out link. You'll see that the Katex equation loads in the top left corner with out respect to the markmap.
Here is a link to the charts I've built on replit: Link to webview
Here is the link to the markmap try it out page, load on iOS to see the issue: Try it out
Point is - markmap is by far the best mindmapping library and it could really be extended further - you'll see on my replit that I'm experimenting with ASCII based alternatives to the javascript libraries, but have a table with pagination as a node is where I'm stuck since I believe that will rely on javascript (which currently renders incorrectly on iOS mobile).