Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6070699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:57:46+00:00 2026-05-23T09:57:46+00:00

I am developing my down blog engine based on file system storage, very much

  • 0

I am developing my down blog engine based on file system storage, very much interested to use Markdown for keeping file and storage compressed. I am able to figure out the way when user submit the content using Markdown editor (that’s I am using now while writing the code!!) but also would like to enhance the feature by allowing Window Live Writer and Metablog API thus it is very important for me to transform vice versa (HTML -> Markup).

I am not able to find any example or specific code snippet that can help me. Advise would be much appreciated.

Reference:
http://code.google.com/p/markdownsharp/

I am using above repository.

Cheer!
Nilay.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T09:57:47+00:00Added an answer on May 23, 2026 at 9:57 am

    You can use Pandoc with a wrapper as shown in the answer to this question:

    Convert Html or RTF to Markdown or Wiki Compatible syntax?

    Edit:

    Here’s a slightly modified (to dispose of process resources) version of the function that @Rob wrote:

    private string Convert(string source) {
        string processName = @"C:\Program Files (x86)\Pandoc\bin\pandoc.exe";
        string args = "-r html -t markdown";
    
        ProcessStartInfo psi = new ProcessStartInfo(processName, args) {
            RedirectStandardOutput = true,
            RedirectStandardInput = true,
            CreateNoWindow = true,
            UseShellExecute = false
        };
    
        var outputString = "";
    
        using (var p = new Process()) {
            p.StartInfo = psi;
            p.Start();
    
            byte[] inputBuffer = ASCIIEncoding.UTF8.GetBytes(source);
            p.StandardInput.BaseStream.Write(inputBuffer, 0, inputBuffer.Length);
            p.StandardInput.Close();
    
            using (var sr = new StreamReader(p.StandardOutput.BaseStream)) {
                outputString = sr.ReadToEnd();
            }
        }
    
        return outputString;
    }
    

    I’m not sure how practical this is but it works.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an online examination using servlets/jsp.I need to add a count down
Developing a heavily XML-based Java-application, I recently encountered an interesting problem on Ubuntu Linux.
When developing a new web based application which version of html should you aim
I'm working on developing a page that pulls data down only via ajax: http://itprojectguide.org/projectmatrix/itprojectguideprojectmatrix.html
I'm developing an application where I'm concerned about locking down access to the database.
I'm developing java EE database application(JSF) where I fill drop down menus from database.
I've been developing a publications application that has a drop down menu where you
First of all (before this question get down voted): I am a developer developing
Developing websites are time-consuming. To improve productivity, I would code a prototype to show
Developing a .NET WinForms application: how can I check if the window is in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.