Groostav Posted April 18, 2022 Share Posted April 18, 2022 Site URL: https://empowerops.com Hey guys, I'm looking to create a markdown file shared/modified/maintained by my non-squarespace-user teammates that will auto-magically get loaded by visitors to a page. My hope was that I could do a simple page with a markdown block, and then add some header-JS, such that visitors to a page would run some code to fetch the most recent version of the text, dump it into a markdown block, to be rendered by squarespace.js. Is this possible? It occurs to me that I'm assuming squarespace does runtime processing on markdown text, such that the flow is that squarespace ships the markdown as text to the client and then invokes some javascript to render it, but this could be completely wrong. Is it possible to expose a text file (ie a markdown file) via sharepoint, keeping a relatively sane permissions scheme? Further, the goal is this: I want non technical people to have an easy way to edit a relatively static text document, and to keep only a single authoritative document. Can I use some tool other than javascript-synchronization tricks? Maybe I should just ask my team to modify a text block on squarespace? Many Thanks, -Geoff Link to comment
Beyondspace Posted April 18, 2022 Share Posted April 18, 2022 2 hours ago, Groostav said: Site URL: https://empowerops.com Hey guys, I'm looking to create a markdown file shared/modified/maintained by my non-squarespace-user teammates that will auto-magically get loaded by visitors to a page. My hope was that I could do a simple page with a markdown block, and then add some header-JS, such that visitors to a page would run some code to fetch the most recent version of the text, dump it into a markdown block, to be rendered by squarespace.js. Is this possible? It occurs to me that I'm assuming squarespace does runtime processing on markdown text, such that the flow is that squarespace ships the markdown as text to the client and then invokes some javascript to render it, but this could be completely wrong. Is it possible to expose a text file (ie a markdown file) via sharepoint, keeping a relatively sane permissions scheme? Further, the goal is this: I want non technical people to have an easy way to edit a relatively static text document, and to keep only a single authoritative document. Can I use some tool other than javascript-synchronization tricks? Maybe I should just ask my team to modify a text block on squarespace? Many Thanks, -Geoff Reading data from a file or something like this, then rendering it to your specific mardown block. Is it what you mean? Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Groostav Posted April 19, 2022 Author Share Posted April 19, 2022 Yeah thats exactly it, as lazily as possible. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment