Jan
2
2010

Markdown Text Made Simple

One of the things I have enjoyed about cloning Stackoverflow is that I have an opportunity to use technologies I probably wouldn’t have bothered playing with before. Getting openAuth up and running was simple, the jQuery plugins I have been experimenting with have been fun, and today I was fooling around with markdown for the first time.

I have always enjoyed the markdown syntax, and found it quite natural to use. When the SO team announced MarkdownSharp I figured it was a good time to implement “Ask a question”. Honestly, I had no idea where to begin so I Just downloaded the library. I don’t think they could have made it any easier to use: string foo = new Markdown().Transform(value).

I googled for a little bit looking for an editor that I liked. The one I settled on is WMD editor. I’m not certain, but I think it is the one that Sackoverflow uses. There isn’t much to say about it other then I like it. I was a little disappointed that I couldn’t find anything decent with built in syntax highlighting, but I can always jerry-rig something. If anyone knows of something pre-built please, let me know.

I am actually surprised at how smoothly this project is going. The biggest snag I have had is my UI design skills, but that was quickly solved with a clean site template. Maybe all is going well because everything has been built for me so far, and I just have to piece them together. Yet another perk of cloning a site that documented the technology used to build it.

Add comment




biuquote
Loading


AdSense

Software engineer by hobby and trade. When I am not sitting in front of a computer, you can find me playing with my kids. I am lucky enough to be married to my best friend and high school sweetheart. Life couldn't be better!

 

All content is mine, not my employers

Chronology

Tweets

what is the easiest way to *just* the last changeset number from git?
21 hours ago via Silver Bird
@ParasValecha so it is a virus some marketing guy manage to win an award for? ;)
3 days ago via Silver Bird
@ParasValecha none. I think they are one of the worse "viruses" you can get. Thrashing your disk and hogging CPU any chance they get
3 days ago via Silver Bird
...i have gone 5 years without one and been fine
3 days ago via Microsoft
... and provide little value on a day to day basis. Don't go to random content, and don't open stuff you don't understand...
3 days ago via Microsoft
I wholeheartedly believe that virus scanners are one of the worst things to install. they really slow down your computer...
3 days ago via Microsoft
RT @CodeWisdom: "When your hammer is C++, everything begins to look like a thumb." - Steve Haflich #fb
5 days ago via rowi for Windows Phone
Follow me on Twitter