# MARKDOWN Class for Xojo - now available

**URL:** <https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863>\
**Category:** General\
**Created:** [August 16, 2018, 11:16pm UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863 "2018-08-16T23:16:15Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![brian\_franco](https://forum.xojo.com/user_avatar/forum.xojo.com/brian_franco/32/156_2.png) [@brian\_franco](https://forum.xojo.com/u/brian_franco)\
**Post date:** [August 20, 2018, 3:42pm UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/21 "2018-08-20T15:42:33Z")

</div>

Dave I have downloaded the demo, guess I should have stated I was looking forward to the:

[quote=401135:@Dave S]

The unencrypted source code will be available shortly for $69.00US[/quote]

😃

---

<div class="post-metadata">

**Author:** ![DaveS](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@DaveS](https://forum.xojo.com/u/DaveS)\
**Post date:** [August 21, 2018, 1:13am UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/22 "2018-08-21T01:13:01Z")

</div>

An updated version of the demo has been uploaded to my server (same links as original post).

This version fixes a bug in the “Raw HTML” parser, and implements Linefeed when a line terminates in 2 spaces (it can also use \ if you want it to be “visible”).

Contrary to other parsers, at this time markdownDS does not bother to wrap “text” in “p” tags. I found no visible difference in markdown that did and markdown that did not… If there is an issue I missed, let me know .

There is also a “Purchase Source Code” button, that will link you to my store where you can order the un-encyrpted source code for $69.00. This includes free updates for as long as I am able to still type 🙂

---

<div class="post-metadata">

**Author:** ![Thomas\_Tempelmann](https://forum.xojo.com/user_avatar/forum.xojo.com/thomas_tempelmann/32/315_2.png) [@Thomas\_Tempelmann](https://forum.xojo.com/u/Thomas_Tempelmann)\
**Post date:** [August 21, 2018, 7:02am UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/23 "2018-08-21T07:02:54Z")

</div>

Uh, about the

tags:

They’re important, as they function to separate paragraphs: Each set of lines that are separated by two newlines need to be wrapped in p tags. Otherwise, all these lines appears in one block.  
That’s one of the first things you learn when writing markdown - that two newlines are used to separate paragraphs, whereas a single newline does not, and gets rendered into a single space (without a newline).

This reply contains three paragraphs. Each one would get wrapped in p tags by markdown. Yours currently doesn’t, and that’s a fundamental flaw, IMO.

---

<div class="post-metadata">

**Author:** ![DaveS](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@DaveS](https://forum.xojo.com/u/DaveS)\
**Post date:** [August 21, 2018, 1:59pm UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/24 "2018-08-21T13:59:34Z")

</div>

[quote=401815:@Thomas Tempelmann]Uh, about the

tags:

They’re important, as they function to separate paragraphs: Each set of lines that are separated by two newlines need to be wrapped in p tags. Otherwise, all these lines appears in one block.  
That’s one of the first things you learn when writing markdown - that two newlines are used to separate paragraphs, whereas a single newline does not, and gets rendered into a single space (without a newline).

This reply contains three paragraphs. Each one would get wrapped in p tags by markdown. Yours currently doesn’t, and that’s a fundamental flaw, IMO.[/quote]  
sigh… You are correct… now to figure out how to determine where to put those tags, as they don’t just go where there are two blank lines… they don’t get added inside code blocks, or after

# etc.

---

<div class="post-metadata">

**Author:** ![DaveS](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@DaveS](https://forum.xojo.com/u/DaveS)\
**Post date:** [August 21, 2018, 7:27pm UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/25 "2018-08-21T19:27:27Z")

</div>

I think I got it… here is you post run thru the parser 🙂  
Only thing I changed was to escape the

you had entered in the first line

> [@](#):
>
> Uh, about the \<p\> tags:
> 
> They're important, as they function to separate paragraphs: Each set of lines that are separated by two newlines need to be wrapped in p tags. Otherwise, all these lines appears in one block. That's one of the first things when writing markdown - that two newlines are used to separate paragraphs, whereas a single newline does not, and gets rendered into a single space (without a newline).
> 
> This reply contains three paragraphs. Each one would get wrapped in p tags by markdown. Yours currently doesn't, and that's a fundamental flaw, IMO.

---

<div class="post-metadata">

**Author:** ![Thomas\_Tempelmann](https://forum.xojo.com/user_avatar/forum.xojo.com/thomas_tempelmann/32/315_2.png) [@Thomas\_Tempelmann](https://forum.xojo.com/u/Thomas_Tempelmann)\
**Post date:** [August 21, 2018, 8:18pm UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/26 "2018-08-21T20:18:03Z")

</div>

Looks good.

BTW, uppercase tags? I believe recent html standards request lowercase. Not a big deal, though.

---

<div class="post-metadata">

**Author:** ![DaveS](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@DaveS](https://forum.xojo.com/u/DaveS)\
**Post date:** [August 21, 2018, 8:23pm UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/27 "2018-08-21T20:23:31Z")

</div>

LOL… guess I can figure out how to change that… actually the reason they are UPPERCASE was so I could find them easier when I was debugging the program…

---

<div class="post-metadata">

**Author:** ![Thomas\_Tempelmann](https://forum.xojo.com/user_avatar/forum.xojo.com/thomas_tempelmann/32/315_2.png) [@Thomas\_Tempelmann](https://forum.xojo.com/u/Thomas_Tempelmann)\
**Post date:** [August 21, 2018, 8:24pm UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/28 "2018-08-21T20:24:54Z")

</div>

Yeah, I can relate to that 😃

---

<div class="post-metadata">

**Author:** ![Eduardo\_Gutierrez\_de\_Oliveira](https://forum.xojo.com/user_avatar/forum.xojo.com/eduardo_gutierrez_de_oliveira/32/264_2.png) [@Eduardo\_Gutierrez\_de\_Oliveira](https://forum.xojo.com/u/Eduardo_Gutierrez_de_Oliveira)\
**Post date:** [August 23, 2018, 9:02pm UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/29 "2018-08-23T21:02:38Z")

</div>

I know it’s only barely related, but I was creating a readme for a Github repository and found [https://pandao.github.io/editor.md/en.html](https://pandao.github.io/editor.md/en.html) and I was so impressed with the state of markdown…

I was still on the mindset of the core markdown and had gotten only as fas as tables regarding extensions. Then I got to that page and was blown by all the extensions that have been added to it in the past years.

I have a newfound respect for anybody that tackles such a project nowadays. My hat is off to you, Dave 🙂

---

<div class="post-metadata">

**Author:** ![DaveS](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@DaveS](https://forum.xojo.com/u/DaveS)\
**Post date:** [August 23, 2018, 9:04pm UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/30 "2018-08-23T21:04:12Z")

</div>

Thanks… I have tried to include as many of the “extensions” as possible (tables are in fact part of it)

---

<div class="post-metadata">

**Author:** ![scott\_boss](https://forum.xojo.com/letter_avatar_proxy/v4/letter/s/c5a1d2/32.png) [@scott\_boss](https://forum.xojo.com/u/scott_boss)\
**Post date:** [September 24, 2018, 5:59pm UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/31 "2018-09-24T17:59:46Z")

</div>

> [@401135:@Dave S](#):
>
> The unencrypted source code will be available shortly for $69.00US

it would be nice to be able to go directly to the buy page without first downloading the example application and buy from there.

thanks for making the class(es).  
sb

---

<div class="post-metadata">

**Author:** ![DaveS](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@DaveS](https://forum.xojo.com/u/DaveS)\
**Post date:** [September 24, 2018, 6:04pm UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/32 "2018-09-24T18:04:20Z")

</div>

🙂 I figured if you wanted to see how it worked, then you would want to download the example.

And to be honest, since this topic has been silent for a month, I figured there wasn’t any real interest…  
Give me a day or two to finish up the last of the features I was working on (beyond what was in the demo)  
Never mind… I had gotten caught up it seems

---

<div class="post-metadata">

**Author:** ![DaveS](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@DaveS](https://forum.xojo.com/u/DaveS)\
**Post date:** [September 25, 2018, 1:48pm UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/33 "2018-09-25T13:48:30Z")

</div>

[quote=407185:@Dave S]🙂 I figured if you wanted to see how it worked, then you would want to download the example.

EDIT : plus the website needs you name and email address in order to complete the PayPal application, so a direct URL won’t work without me designing a whole new PHP front end

---

<div class="post-metadata">

**Author:** ![GarryPettet](https://forum.xojo.com/user_avatar/forum.xojo.com/garrypettet/32/31_2.png) [@GarryPettet](https://forum.xojo.com/u/GarryPettet)\
**Post date:** [September 25, 2018, 4:35pm UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/34 "2018-09-25T16:35:12Z")

</div>

Wow @Dave S. This looks great. I think I’ll probably buy it. How did you find writing the parser? I gave up on my Markdown parser a couple of years (before I moved on to another parser, for [Roo](https://roolang.org)).

---

<div class="post-metadata">

**Author:** ![Derek\_Traxler](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/eb9ed0/32.png) [@Derek\_Traxler](https://forum.xojo.com/u/Derek_Traxler)\
**Post date:** [September 26, 2018, 12:59am UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/35 "2018-09-26T00:59:35Z")

</div>

Will this let me create a high concurrent user count web server in pure xojo console apps?

Would love a framework to serve 500 concurrent users in xojo with a single instance.

---

<div class="post-metadata">

**Author:** ![DaveS](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@DaveS](https://forum.xojo.com/u/DaveS)\
**Post date:** [September 26, 2018, 2:26am UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/36 "2018-09-26T02:26:30Z")

</div>

[quote=407409:@Derek Traxler]Will this let me create a high concurrent user count web server in pure xojo console apps?

Would love a framework to serve 500 concurrent users in xojo with a single instance.[/quote]  
This is NOT what Markdown is all about… so the answer is NO

---

<div class="post-metadata">

**Author:** ![GarryPettet](https://forum.xojo.com/user_avatar/forum.xojo.com/garrypettet/32/31_2.png) [@GarryPettet](https://forum.xojo.com/u/GarryPettet)\
**Post date:** [September 26, 2018, 7:37am UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/37 "2018-09-26T07:37:23Z")

</div>

[quote=407409:@Derek Traxler]Will this let me create a high concurrent user count web server in pure xojo console apps?

Would love a framework to serve 500 concurrent users in xojo with a single instance.[/quote]

Check out [Aloe Express](https://aloe.zone).

Markdown is a way to write text and control its HTML formatting without having to write in raw HTML.

---

<div class="post-metadata">

**Author:** ![DaveS](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@DaveS](https://forum.xojo.com/u/DaveS)\
**Post date:** [January 18, 2019, 12:09am UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/38 "2019-01-18T00:09:25Z")

</div>

An update version of my Markdown class is now available… it fixes a couple of anomolies pointed out by Scott Boss

A demo can be downloaded for Free [these are new server links]

[macOS - 64bit](http://rdS.com/markdown/MarkDown-MacOS.zip)  
[Windows - 64bit](http://rdS.com/markdown/MarkDown-Win10.zip)  
[Linux - 64bit (x86)](http://rdS.com/markdown/MarkDown-Linux.zip)

All demos were compiled with Xojo2018r4 in 64bit mode.

Note : the Linux version has NOT been tested, as I have no machine to do so with  
The class SHOULD work with Console and Web apps as well, but again I have no platform ☹

The Markdown code used in the demo can be viewed [here.](http://rdS.com/markdown/markdown_sample.txt)  
the HTML results can be viewed [here.](http://rdS.com/markdown/markdown.html)

The unencrypted source code is available for $69.00US

---

<div class="post-metadata">

**Author:** ![Jean-Yves\_Pochez](https://forum.xojo.com/user_avatar/forum.xojo.com/jean-yves_pochez/32/21769_2.png) [@Jean-Yves\_Pochez](https://forum.xojo.com/u/Jean-Yves_Pochez)\
**Post date:** [January 18, 2019, 7:00am UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/39 "2019-01-18T07:00:36Z")

</div>

> [@421625:@Dave S](#):
>
> Note : the Linux version has NOT been tested, as I have no machine to do so with

Dave, you can make a virtualbox VM with a linux inside. it’s completely free. and test your software with it.

---

<div class="post-metadata">

**Author:** ![Wayne\_Golding](https://forum.xojo.com/user_avatar/forum.xojo.com/wayne_golding/32/165_2.png) [@Wayne\_Golding](https://forum.xojo.com/u/Wayne_Golding)\
**Post date:** [January 18, 2019, 8:24am UTC](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863/40 "2019-01-18T08:24:39Z")

</div>

@Dave S This product looks great for creating bodyhtml email messages.

BTW 3^2 is 9 not 8 which is 2^3 🙂

[Previous page](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863.md?page=1)

[Next page](https://forum.xojo.com/t/markdown-class-for-xojo-now-available/44863.md?page=3)
