# Markdown display (editor)

**URL:** <https://clarionhub.com/t/markdown-display-editor/5782>\
**Category:** questions\
**Tags:** markdown\
**Created:** [January 2, 2023, 8:10pm UTC](https://clarionhub.com/t/markdown-display-editor/5782 "2023-01-02T20:10:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![elriba](https://clarionhub.com/letter_avatar_proxy/v4/letter/e/9f8e36/32.png) [@elriba](https://clarionhub.com/u/elriba)\
**Post date:** [January 2, 2023, 8:10pm UTC](https://clarionhub.com/t/markdown-display-editor/5782/1 "2023-01-02T20:10:10Z")

</div>

I am thinking on doing a project which would require displaying “markdown” texts. Basically I would like to build a note-taking app which could interact with an app called Joplin, and then add other functionality I would like to have.  
Are you guys aware of any component that would allow me to display formatted “markdown” texts?

---

<div class="post-metadata">

**Author:** ![anon23294430](https://clarionhub.com/user_avatar/clarionhub.com/anon23294430/32/3829_2.png) [@anon23294430](https://clarionhub.com/u/anon23294430)\
**Post date:** [January 2, 2023, 11:10pm UTC](https://clarionhub.com/t/markdown-display-editor/5782/2 "2023-01-02T23:10:34Z")

</div>

There is a word processor called TX Text control which used to display and edit HTML, I havent used it in a few years but it might still edit and display html.  
[TX Text Control ActiveX](https://www.textcontrol.com/products/activex/tx-text-control-activex/overview/)  
and the Clarion wrapper for it can be bought from here [TX Text Control (klarisoft.com)](https://klarisoft.com/KSNews_idx21.htm)

There are also these products  
[Easy HTML Ingasoft - questions - ClarionHub](https://clarionhub.com/t/easy-html-ingasoft/2630)

[ANN: Noyantis HTML Editor Wrapper Template - Update v3.60 Now Available - marketplace / noyantis - ClarionHub](https://clarionhub.com/t/ann-noyantis-html-editor-wrapper-template-update-v3-60-now-available/3357)

[CapeSoft Chrome Explorer](https://www.capesoft.com/accessories/chromeexplorersp.htm)

and this might also meet your needs.  
[Using HTML5 with shell.explorer.2 OCX object - code - ClarionHub](https://clarionhub.com/t/using-html5-with-shell-explorer-2-ocx-object/3794)

---

<div class="post-metadata">

**Author:** ![elriba](https://clarionhub.com/letter_avatar_proxy/v4/letter/e/9f8e36/32.png) [@elriba](https://clarionhub.com/u/elriba)\
**Post date:** [January 3, 2023, 12:24am UTC](https://clarionhub.com/t/markdown-display-editor/5782/3 "2023-01-03T00:24:22Z")

</div>

Thanks for responding. I use TX Text control. However, if I understand correctly, I would first need to convert “markdown” to html to display on TX Text.  
I’ll check the other suggestions.  
Thanks

---

<div class="post-metadata">

**Author:** ![jslarve](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@jslarve](https://clarionhub.com/u/jslarve)\
**Post date:** [January 3, 2023, 1:01am UTC](https://clarionhub.com/t/markdown-display-editor/5782/4 "2023-01-03T01:01:59Z")

</div>

I think he’s looking for a git styled markdown like you’d see in a readme.md file.

There are some javascript solutions for that, which might be good enough. I’m interested in this myself, as well.

---

<div class="post-metadata">

**Author:** ![anon23294430](https://clarionhub.com/user_avatar/clarionhub.com/anon23294430/32/3829_2.png) [@anon23294430](https://clarionhub.com/u/anon23294430)\
**Post date:** [January 3, 2023, 1:05am UTC](https://clarionhub.com/t/markdown-display-editor/5782/5 "2023-01-03T01:05:59Z")

</div>

I assumed he was referring to HTML but I see there are variations like Github’s.  
[Markdown Cheat Sheet | Markdown Guide](https://www.markdownguide.org/cheat-sheet/)  
[GitHub - sindresorhus/github-markdown-css: The minimal amount of CSS to replicate the GitHub Markdown style](https://github.com/sindresorhus/github-markdown-css)  
[Markdown style guide | styleguide (google.github.io)](https://google.github.io/styleguide/docguide/style.html)

---

<div class="post-metadata">

**Author:** ![MarkGoldberg](https://clarionhub.com/user_avatar/clarionhub.com/markgoldberg/32/1511_2.png) [@MarkGoldberg](https://clarionhub.com/u/MarkGoldberg)\
**Post date:** [January 3, 2023, 1:12am UTC](https://clarionhub.com/t/markdown-display-editor/5782/6 "2023-01-03T01:12:38Z")

</div>

Fwiw clarionhub also uses markdown

---

<div class="post-metadata">

**Author:** ![anon23294430](https://clarionhub.com/user_avatar/clarionhub.com/anon23294430/32/3829_2.png) [@anon23294430](https://clarionhub.com/u/anon23294430)\
**Post date:** [January 3, 2023, 1:13am UTC](https://clarionhub.com/t/markdown-display-editor/5782/7 "2023-01-03T01:13:53Z")

</div>

I learn something new. 😀

---

<div class="post-metadata">

**Author:** ![donridley](https://clarionhub.com/user_avatar/clarionhub.com/donridley/32/1459_2.png) [@donridley](https://clarionhub.com/u/donridley)\
**Post date:** [January 3, 2023, 3:42pm UTC](https://clarionhub.com/t/markdown-display-editor/5782/8 "2023-01-03T15:42:57Z")

</div>

I recently began using the Scintilla control for displaying code in a Clarion desktop application. I’m pretty sure it can display HTML and other similar code.

I believe Mark Riffey is the resident expert on that control.

---

<div class="post-metadata">

**Author:** ![jslarve](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@jslarve](https://clarionhub.com/u/jslarve)\
**Post date:** [January 3, 2023, 8:29pm UTC](https://clarionhub.com/t/markdown-display-editor/5782/9 "2023-01-03T20:29:08Z")

</div>

hmmm

 ![image](https://clarionhub-uploads.s3.eu-north-1.amazonaws.com/original/2X/7/7a3d7e8c342d3bcb6fde164223a0f1a28394977d.png)

---

<div class="post-metadata">

**Author:** ![CarlBarnes](https://clarionhub.com/user_avatar/clarionhub.com/carlbarnes/32/1859_2.png) [@CarlBarnes](https://clarionhub.com/u/CarlBarnes)\
**Post date:** [January 3, 2023, 9:49pm UTC](https://clarionhub.com/t/markdown-display-editor/5782/10 "2023-01-03T21:49:36Z")

</div>

I think the OP wants to see the Markdown rendered pretty and not the MD syntax . Like in screen capture below on the Right not the left showing \*\* and \*

**I am Bold**  
_I am Italics_

 ![image](https://clarionhub-uploads.s3.eu-north-1.amazonaws.com/original/2X/7/7841c29a2c205036ad114e4bd840791206813564.png)

---

<div class="post-metadata">

**Author:** ![jslarve](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@jslarve](https://clarionhub.com/u/jslarve)\
**Post date:** [January 4, 2023, 1:09am UTC](https://clarionhub.com/t/markdown-display-editor/5782/11 "2023-01-04T01:09:44Z")

</div>

Seeing the rendered result is one thing (and all I’m talking about), but the only editors I’ve seen are pretty much like notepad, in that you see the formatting characters when you’re editing. E.G., a Clarion TEXT control with fixed width font, then have another pane display the rendered result.

---

<div class="post-metadata">

**Author:** ![vitesse](https://clarionhub.com/user_avatar/clarionhub.com/vitesse/32/837_2.png) [@vitesse](https://clarionhub.com/u/vitesse)\
**Post date:** [January 4, 2023, 1:34am UTC](https://clarionhub.com/t/markdown-display-editor/5782/12 "2023-01-04T01:34:37Z")

</div>

> [@jslarve](#):
>
> E.G., a Clarion TEXT control with fixed width font, then have another pane display the rendered result.

so could you have the Clarion Text control for entry and an RTF display-only control for displaying the rendered text. You would need to write a Markdown to RTF converter which would be called after each keystroke in the text control.

it doesn’t sound that hard as Markdown is pretty simple but perhaps there are some “gotchas” waiting to trap the unsuspecting.

---

<div class="post-metadata">

**Author:** ![jslarve](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@jslarve](https://clarionhub.com/u/jslarve)\
**Post date:** [January 4, 2023, 1:35am UTC](https://clarionhub.com/t/markdown-display-editor/5782/13 "2023-01-04T01:35:23Z")

</div>

I’m partial to Don’s Scintilla idea

---

<div class="post-metadata">

**Author:** ![anon23294430](https://clarionhub.com/user_avatar/clarionhub.com/anon23294430/32/3829_2.png) [@anon23294430](https://clarionhub.com/u/anon23294430)\
**Post date:** [January 4, 2023, 2:18am UTC](https://clarionhub.com/t/markdown-display-editor/5782/14 "2023-01-04T02:18:58Z")

</div>

> [@jslarve](#):
>
> Seeing the rendered result is one thing (and all I’m talking about), but the only editors I’ve seen are pretty much like notepad,

TXText Control had an option to toggle the display of special characters like you can in Word or the clarion7+ source/embed editor. But markdown wasnt in TX Text Control when I used it.  
Edit. It supports markdown now [Loading Markdown Content into TX Text Control](https://www.textcontrol.com/blog/2020/06/26/loading-markdown-into-tx-text-control/)

> [@vitesse](#):
>
> so could you have the Clarion Text control for entry and an RTF display-only control for displaying the rendered text. You would need to write a Markdown to RTF converter which would be called after each keystroke in the text control.

I think that would be possible and I dont think there are traps having looked at the RTF class to adapt it for my own clipboard viewer to handle Clarion source code, before I found out windows have API’s to mod the clipboard.

---

<div class="post-metadata">

**Author:** ![vitesse](https://clarionhub.com/user_avatar/clarionhub.com/vitesse/32/837_2.png) [@vitesse](https://clarionhub.com/u/vitesse)\
**Post date:** [January 4, 2023, 4:12am UTC](https://clarionhub.com/t/markdown-display-editor/5782/15 "2023-01-04T04:12:16Z")

</div>

> [@jslarve](#):
>
> I’m partial to Don’s Scintilla idea

yes if Scintilla displays it correctly then sure it would perhaps be the simplest solution especially given there is an open source Clarion example of using it in KSS.

---

<div class="post-metadata">

**Author:** ![anon23294430](https://clarionhub.com/user_avatar/clarionhub.com/anon23294430/32/3829_2.png) [@anon23294430](https://clarionhub.com/u/anon23294430)\
**Post date:** [January 4, 2023, 4:04pm UTC](https://clarionhub.com/t/markdown-display-editor/5782/16 "2023-01-04T16:04:04Z")

</div>

> [@vitesse](#):
>
> there is an open source Clarion example of using it in KSS.

What’s KSS? [Post must be at least 20 characters]

---

<div class="post-metadata">

**Author:** ![jslarve](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@jslarve](https://clarionhub.com/u/jslarve)\
**Post date:** [January 4, 2023, 4:34pm UTC](https://clarionhub.com/t/markdown-display-editor/5782/17 "2023-01-04T16:34:03Z")

</div>

> **[GitHub - mriffey/KSSOpen: Search tool that is a wrapper around Microsoft's...](https://github.com/mriffey/kssopen)**
>
> Search tool that is a wrapper around Microsoft's FindStr, making it easy to work with search results. Supports many programming languages (see Devuna docs).

---

<div class="post-metadata">

**Author:** ![CarlBarnes](https://clarionhub.com/user_avatar/clarionhub.com/carlbarnes/32/1859_2.png) [@CarlBarnes](https://clarionhub.com/u/CarlBarnes)\
**Post date:** [January 4, 2023, 4:41pm UTC](https://clarionhub.com/t/markdown-display-editor/5782/18 "2023-01-04T16:41:42Z")

</div>

> [@MarkGoldberg](#):
>
> Fwiw clarionhub also uses markdown

Most Markdown allows some limited HTML, e.g. Bold `<b>` or Italic `<i>`. So the conversion of Markdown to HTML for viewing makes sense.

Code: `<b><i>BOLD</i></b> and *Asterisk Italic* `  
Renders: **_BOLD_** and _Asterisk Italic_

One useful HTML on Hub is `<PRE>` for pasting data shown in a fixed width font that does not get colored like `Code` does surrounded by 3 backticks"

* * *

Example JSON using `<pre>` has no coloring:

```
{"employee": {  
        "name": "sonoo",   
        "salary": 56000,   
        "married": true  
} }
```

* * *

Example using 3 backticks ``` has various colors:

```auto
{"employee": {  
        "name": "sonoo",   
        "salary": 56000,   
        "married": true  
} }  

```

---

<div class="post-metadata">

**Author:** ![elriba](https://clarionhub.com/letter_avatar_proxy/v4/letter/e/9f8e36/32.png) [@elriba](https://clarionhub.com/u/elriba)\
**Post date:** [January 5, 2023, 4:12pm UTC](https://clarionhub.com/t/markdown-display-editor/5782/19 "2023-01-05T16:12:38Z")

</div>

Hi,  
Yes @CarlBarnes, that is what I want.

I ended up going to try with Capesoft’s ChromeExporer. This is a wrapper around chrome’s libraries. This should display markdown properly.

I want to build sort of a personal information manager. I have tried many (Evernote,joplin,rightnote,treenotes,obsidian,etc…), including one I previously built, but I am always insatisfied for one reason or another, and keep going back to this desire for an adequate one for me…

This time I want to include some ideas from a system of handling notes called “Zettelkasten”, which I really like.

Thanks for all the inputs!

---

<div class="post-metadata">

**Author:** ![jslarve](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@jslarve](https://clarionhub.com/u/jslarve)\
**Post date:** [January 5, 2023, 4:57pm UTC](https://clarionhub.com/t/markdown-display-editor/5782/20 "2023-01-05T16:57:31Z")

</div>

If you do a search for “markdown css”, that should help a lot too.
