Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

SynEditHighlighterMarkdown

SynEdit highlighter for Markdown

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

SynEdit highlighter for Markdown

Overview

A Markdown highlighter component for SynEdit.

Requirement

Usage

Using Source

Add SynHighlighterMarkdown.pas to your project.

pascal
uses
  SynHighlighterMarkdown;

...

var
  HL: TSynMarkdownSyn;

...

HL := TSynMarkdownSyn.Create(Self);
SynEdit1.Highlighter := HL;

Componentization

  1. Add the project directory to the IDE's library path
  2. Open SynEditHighlighterMarkdown.dproj
  3. Install SynEditHighlighterMarkdown.bpl
  4. Place the TSynMarkdownSyn component from the Tool Palette on the form
  5. In the Object Inspector, assign the TSynMarkdownSyn component to the Highlighter property of the SynEdit

Author

MASUDA Takashi https://mas3lab.net/