🧵 Obsidian-like 3D Book implementation
Anonymous at Sun, 2 Mar 2025 17:20:29 UTC No. 1008479
How Can I Implement a Markdown-Supported 3D Book for Players to Write In? (Unreal Engine 5.5)
I'm developing a game that allow players to write in a 3D book, and I want the writing system to support Markdown, mostly for the ability to embed and render images within the game.
example: 
However, after extensive searching, I haven't found a suitable solution.
Most available plugins are designed for documentation rather than allowing players to write and edit text dynamically. I also experimented with a web-based approach using an HTML widget and the Marked.js library, but having an HTML widget for every page feels inefficient (as far i know, if there is a more efficient way to use web widget then that would be awesome).
A bit more context:
>Many of my game collectibles are HTML-based IE making a system that allows you to use some links as objects for certain areas.
>The game relies on both internet data (about 30%) and local storage, using reference links like the file:/// protocol.
>Ideally, I want a solution that doesn't require downloading additional in-game data.
>My background is in web development, and I'm aiming for something similar to Obsidian for the book in term of functionality.
Idk what to do. Would love suggestions on how to implement this customizable diary system efficiently. Any advice or alternative approaches?
Anonymous at Sun, 2 Mar 2025 17:41:34 UTC No. 1008482
>>1008479
Don’t use markdown, nothing good ever comes from it. Why can’t you just allow the user access to write and let the data be a separate file. Why is this too hard.
Anonymous at Sun, 2 Mar 2025 21:52:29 UTC No. 1008494
>>1008482
The reason I would use markdown is because of my web development background, so thought it would've been "easier" to implement, and because of its ability to render images without said images needing to be downloaded.
Anonymous at Mon, 3 Mar 2025 03:27:49 UTC No. 1008519
I don't know anything about how Unreal's native text and image rendering libraries work, but you could try implementing a subset of Markdown yourself with that. I doubt you would need all Markdown features and it beats adding JavaScript bullshit to the game.
Anonymous at Tue, 4 Mar 2025 21:33:18 UTC No. 1008641
I'm guessing you want markdown JUST for ![] to render an image, if that the case you could stick to HTML route, however do be careful when using ue5 HTML as it is chromium based, you can use web widget to render the markdown text and having the files stored somewhere else, im pretty sure ue5 also come with SQLite plugin built in, you can use that to make a database to render any .md file with an HTML window, i assume you want to the pages to render the markdown, if all you want is just 2 pages then it should be fine, but if each page is a web widget then i recommend you focusing on optimization system first to prevent the files from rendering when they are not observed or in your cause opened book, OP you need to provide more context cuz maybe the end goal you trying to achieve can be done easier then just "i want markdown on every page 3d" you said you have background in web dev so you think this is the only way to achieve X thing, maybe im assuming too much, why you want that?
Anonymous at Fri, 7 Mar 2025 19:31:27 UTC No. 1008801
>>1008479
I think you should stick to HTML since it seem you most comfortable with and make yourself an index that allow you to read .md files, then you can setup system to spawn web widget with the corresponding index and url, do make sure you have them not render unless interacted or player nearby them
Anonymous at Sat, 8 Mar 2025 02:47:34 UTC No. 1008834
>>1008479
3d book model and screen space text effect
Anonymous at Sun, 9 Mar 2025 07:41:18 UTC No. 1008884
>>1008834
OP is autistic who want the ability for players to embed images into their book using markdown embedding capability, i hope OP provide from info regarding his project because using markdown is convoluted