DEV Community

[Comment from a deleted post]
 
jdforsythe profile image
Jeremy Forsythe • Edited

I stripped out ngx-markdown and tried using marked directly with the same result.

I did have some success loading the markdown with HttpClient and using marked. The prerender fails on the HTTP requests however if i use http://localhost:4300 in the URLs and run another copy of the app while I'm prerendering, it can successfully find the markdown files and renders properly. If i can just figure out why the relative URL calls are failing, I'll be in business. They are supposed to be rewritten to absolute URLs automatically now but it doesn't appear to be working.

 
daviddalbusco profile image
David Dal Busco

Happy to hear you made progress. Can't help unfortunately, it's been a while since I don't used Angular for SSR. Good luck 🤞