{"id":28140322,"url":"https://github.com/etheadev/markdownprocessor","last_synced_at":"2026-04-05T01:34:05.769Z","repository":{"id":202872284,"uuid":"703527630","full_name":"EtheaDev/MarkdownProcessor","owner":"EtheaDev","description":"A Markdown Processor Library for Delphi, to process and convert markdown files to HTML.","archived":false,"fork":false,"pushed_at":"2025-08-21T09:52:43.000Z","size":470,"stargazers_count":47,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-04-05T01:33:31.852Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Pascal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EtheaDev.png","metadata":{"files":{"readme":"README.htm","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-11T12:11:13.000Z","updated_at":"2026-04-04T14:01:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf429711-3aba-4bb6-96f0-3b10b451627b","html_url":"https://github.com/EtheaDev/MarkdownProcessor","commit_stats":null,"previous_names":["etheadev/markdownprocessor"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/EtheaDev/MarkdownProcessor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EtheaDev%2FMarkdownProcessor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EtheaDev%2FMarkdownProcessor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EtheaDev%2FMarkdownProcessor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EtheaDev%2FMarkdownProcessor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EtheaDev","download_url":"https://codeload.github.com/EtheaDev/MarkdownProcessor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EtheaDev%2FMarkdownProcessor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31421869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T00:25:07.052Z","status":"ssl_error","status_checked_at":"2026-04-05T00:25:05.923Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-14T18:11:19.083Z","updated_at":"2026-04-05T01:34:05.753Z","avatar_url":"https://github.com/EtheaDev.png","language":"Pascal","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cstyle type=\"text/css\"\u003e\ncode{\n  font-family: \"Consolas\", monospace;\n}\npre{\n  border: 1px solid #ddd;\n  border-left: 3px solid #f36d33;\n  overflow: auto;\n  padding: 1em 1.5em;\n  display: block;\n}\nBlockquote{\n  border-left: 3px solid #d0d0d0;\n  padding-left: 0.5em;\n  margin-left:1em;\n}\nBlockquote p{\n  margin: 0;\n}\ntable{\n  border:1px solid;\n  border-collapse:collapse;\n}\nth{  padding:5px;\n  border:1px solid;\n}\ntd{\n  padding:5px;\n  border:1px solid;\n}\n\u003c/style\u003e\n\u003ch1\u003eMarkdown Processor and MarkDownToHTML.exe utility\u003ca href=\"https://opensource.org/licenses/Apache-2.0\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-Apache%202.0-yellowgreen.svg\" alt=\"License\"/\u003e\u003c/a\u003e\u003c/h1\u003e\n\u003cp\u003eA Markdown Processor Library for Delphi, to process/convert markdown files to HTML.\u003c/p\u003e\n\u003cp\u003eA Useful utility: \u003cstrong\u003eMarkDownToHTML.exe\u003c/strong\u003e to transform any markdown file to HTML\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eLatest Version 1.3.0 - 21 Aug 2025\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"/images/SupportingDelphi.jpg\" alt=\"Support Delphi\"/\u003e\u003c/p\u003e\n\u003cp\u003eThis library is compatible from Delphi XE3 version to latest.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://www.embarcadero.com/\"\u003ewww.embarcadero.com\u003c/a\u003e - \u003ca href=\"https://learndelphi.org/\"\u003elearndelphi.org\u003c/a\u003e\u003c/p\u003e\n\u003chr /\u003e\n\u003ch2\u003eUsing the MarkDownToHTML.exe utility\u003c/h2\u003e\n\u003cp\u003eWith MarkDownToHTML.exe you can transform a markdown file to HTML using different markdown dialects or StyleSheet.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://github.com/EtheaDev/MarkdownProcessor/releases/latest/download/MarkDownToHTML.exe\"\u003eDownload the utility\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003erun \u003cstrong\u003eMarkDownToHTML.exe help processfile\u003c/strong\u003e for a complete help.\u003c/p\u003e\n\u003cp\u003eLook into Cmd\\MarkdownToHTML\\Test\\MarkDownToHTML_Test.cmd for examples\u003c/p\u003e\n\u003chr /\u003e\n\u003ch2\u003eBasic Informations for Delphi users\u003c/h2\u003e\n\u003cp\u003eThis is a Pascal (Delphi) library that processes markdown to HTML.\nAt present the following dialects of markdown are supported:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eThe Daring Fireball dialect\n(see \u003ca href=\"https://daringfireball.net/projects/markdown/\"\u003ehttps://daringfireball.net/projects/markdown/\u003c/a\u003e)\u003c/li\u003e\n\u003cli\u003eAlmost complete support for CommonMark dialect\n(translated from \u003ca href=\"http://commonmark.org/\"\u003ehttp://commonmark.org/\u003c/a\u003e)\u003c/li\u003e\n\u003cli\u003eEnhanced TxtMark dialect\n(translated from \u003ca href=\"https://github.com/rjeschke/txtmark\"\u003ehttps://github.com/rjeschke/txtmark\u003c/a\u003e)\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3\u003eUsing the Library with Delphi\u003c/h3\u003e\n\u003cp\u003eDeclare a variable of the class TMarkdownProcessor:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"Pascal\"\u003e     var\n       md : TMarkdownProcessor;\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eCreate a TMarkdownProcessor (MarkdownProcessor.pas) of the dialect you want:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"Pascal\"\u003e       md := TMarkdownProcessor.createDialect(mdDaringFireball)\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eDecide whether you want to allow active content\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"Pascal\"\u003e       md.AllowUnSafe := true;\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eNote: you should only set this to true if you \u003cem\u003eneed\u003c/em\u003e to - active content can be a significant safety/security issue.\u003c/p\u003e\n\u003cp\u003eGenerate HTML fragments from Markdown content:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"Pascal\"\u003e       html := md.process(markdown);\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eNote that the HTML returned is an HTML fragment, not a full HTML page.\u003c/p\u003e\n\u003cp\u003eDo not forget to dispose of the object after the use:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"Pascal\"\u003e       md.free\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eLarge rework was made for adding support for tables, math formulas, etc.\u003c/p\u003e\n\u003ch2\u003eDelphi projects Examples\u003c/h2\u003e\n\u003cp\u003eThis library is used in two projects:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/EtheaDev/MarkdownShellExtensions\"\u003eMarkdownShellExtensions\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eA collection of tools for markdown files, to edit and view content, with an advanced Editor:\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"./images/MDTextEditorLight.png\" alt=\"Markdown Text Editor\"/\u003e\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/EtheaDev/MarkdownHelpViewer\"\u003eMarkdownHelpViewer\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eAn integrated help system based on files in Markdown format (and also html), for Delphi applications:\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"./images/ContentPage.png\" alt=\"Markdown HelpViewer\"/\u003e\u003c/p\u003e\n\u003ch2\u003eRelease Notes\u003c/h2\u003e\n\u003cp\u003e21 Aug 2025: ver. 1.3.0\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eAdded support for Delphi 13\u003c/li\u003e\n\u003cli\u003eAdded command line utility MarkDownToHTML.exe\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003e08 Apr 2025: ver. 1.2.0\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eFixed const parameters\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003e16 Dec 2024: ver. 1.1.0\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eUpdated Demo for FireMonkey\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003e22 Oct 2023: ver. 1.0.0\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eProject forked from FPC-markdown by Miguel A. Risco-Castillo\u003c/li\u003e\n\u003cli\u003eRemoved unused Dialect mdAsciiDoc\u003c/li\u003e\n\u003cli\u003echanged position of enumerated dialect mdCommonMark for backward compatibility with Delphi-Markdown\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eLicense\u003c/h2\u003e\n\u003cp\u003eCopyright (c) Ethea S.r.l.\u003c/p\u003e\n\u003cp\u003eLicensed under the Apache License, Version 2.0 (the \u0026ldquo;License\u0026rdquo;);\u003c/p\u003e\n\u003cp\u003eyou may not use this file except in compliance with the License.\u003c/p\u003e\n\u003cp\u003eYou may obtain a copy of the License at\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"http://www.apache.org/licenses/LICENSE-2.0\"\u003ehttp://www.apache.org/licenses/LICENSE-2.0\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \u0026ldquo;AS IS\u0026rdquo; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\u003c/p\u003e\n\u003ch2\u003eContributors\u003c/h2\u003e\n\u003cp\u003e\u003cstrong\u003eMarkdownProcessor\u003c/strong\u003e implementation is a fork of FPC-markdown by \u003cstrong\u003eMiguel A. Risco-Castillo\u003c/strong\u003e\n\u003ca href=\"https://github.com/mriscoc/fpc-markdown\"\u003eFPC-markdown\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eFPC-markdown implementation is a fork of \u003cstrong\u003eGrahame Grieve\u003c/strong\u003e pascal port\n\u003ca href=\"https://github.com/grahamegrieve/delphi-markdown\"\u003eDelphi-markdown\u003c/a\u003e\u003c/p\u003e\n\u003chr /\u003e\n\u003cp\u003e\u003cstrong\u003eMarkDownToHTML.exe\u003c/strong\u003e is a CLI based on the project:\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eItalian Delphi Day 2020: \u003cem\u003eUna CLI che i tuoi utenti ameranno\u003c/em\u003e\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eby \u003cem\u003eMarco Breveglieri\u003c/em\u003e\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://www.breveglieri.it/eventi/2020-06-11-delphiday-creare-client-cli/\"\u003eGo to Slides and Demos page\u0026hellip;\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eIt also uses \u003cstrong\u003eCommandLineParser\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://github.com/VSoftTechnologies/VSoft.CommandLineParser\"\u003eVSoft.CommandLineParser\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eby \u003cem\u003eVincent Parret\u003c/em\u003e, licensed under the Apache License, Version 2.0 (the \u0026ldquo;License\u0026rdquo;);\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetheadev%2Fmarkdownprocessor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetheadev%2Fmarkdownprocessor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetheadev%2Fmarkdownprocessor/lists"}