# View rendered markdown source

**URL:** <https://discourse.devontechnologies.com/t/view-rendered-markdown-source/74833>\
**Category:** DEVONthink\
**Created:** [February 28, 2023, 3:15pm UTC](https://discourse.devontechnologies.com/t/view-rendered-markdown-source/74833 "2023-02-28T15:15:47Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![mmynsted](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/mmynsted/32/9470_2.png) [@mmynsted](https://discourse.devontechnologies.com/u/mmynsted)\
**Post date:** [March 1, 2023, 7:20pm UTC](https://discourse.devontechnologies.com/t/view-rendered-markdown-source/74833/11 "2023-03-01T19:20:15Z")

</div>

Okay. I will research this a bit more.

> [@chrillek](#):
>
> It shouldn’t be a problem to provide a `style` element in the MD file with whatever link you want.

I do not want to add it to one markdown file, I want it added automatically to all markdown files during processing. The ideal way to do this would be to have a preference where I could have a file with content that is directly included in the HEAD of the Markdown rendered as HTML. So that rather than linking to a local file I could add content directly, including linking to local files, remote files, etc.

 ![2023-03-01_13-14](https://devontech-discourse.s3.dualstack.us-east-1.amazonaws.com/uploads/original/3X/e/a/ea8a48c518490ded4ad5eae0545d9c9f3fa397d7.jpeg)

That Style Sheet preference produces this in the HTML.

`<link type="text/css" rel="stylesheet" href="file:///Users/mmynsted/style/lit-plus.css"/>`

This is a _local_ file reference that is often blocked by web browsers.

Better would be something like this.  
`<link type="text/css" rel="stylesheet" href="http://localhost/css/lit-plus.css"/>`

This is not blocked.

Best would be to directly include content _to all Markdown files durning processing_.  
Like the proposed solution here → [Please make it possible to include JS/CSS files in markdown rendering from Application Support folder](https://discourse.devontechnologies.com/t/please-make-it-possible-to-include-js-css-files-in-markdown-rendering-from-application-support-folder/58539)

I wish there was a hidden preference for this. As is I will just have to deal with the issue of most browsers not supporting loading local resources. It can be overridden in modern Safari, but not Orion, etc.

---

_[View the full topic](https://discourse.devontechnologies.com/t/view-rendered-markdown-source/74833)._
