I am trying to set up Discourse as a headless API server. I need to show the full text of the topic and the images in my custom-built landing page. I am able to get the full text with
always_include_topic_excerpts setting. However, the excerpt doesn’t have images.
Digging a bit deeper, found out that the
ExcerptParser.rb has options that can help me meet my requirements. If I can change this line in
Post.rb, it will meet my needs: discourse/post.rb at 1059557ce11c474fdf568571423a88821b072141 · discourse/discourse · GitHub
What would be the best way of going about it? Maybe create a SiteSetting for this, similar to
Ideally, I would want these three boolean settings:
Thank you for your help!