Home

Awesome

Markdown Help Viewer License

Latest Version 2.3.2 - 14 Jun 2024

An integrated help system based on files in Markdown format (and also html), for Delphi and Windows applications

Features

Setup using the Installer

Click to download the MarkDownHelpViewerSetup.exe located also in the Release area. The Installer works both for 32 and 64 bit system.

Markdown Setup_Program

Markdown Help Viewer in action

A useful Viewer for instant preview of Markdown formatted content help files (with auto-detection of Windows-Theme):

Markdown Help Viewer

The Viewer is "localized" for some languages. In this example the GUI with Italian language:

Markdown Help Viewer Italian

Step to activate this Help into MarkdownHelpViewerDemo Application

Use MarkdownHelpViewer.pas (located into AppInterface folder) in dpr:

  MarkdownHelpViewer in '..\..\AppInterface\MarkDownHelpViewer.pas',

then specify the default file of the help:

  Application.HelpFile := ExtractFilePath(Application.ExeName)+'..\Help\Home.md';

If you have installed the viewer using the provided Setup, the installation folder of the Viewer is registere into:

HKEY_CLASSES_ROOT\Applications\MDHelpViewer.exe\Shell\Open\Command so the interface can launch the viewer automatically.

If you don't want to use the provided Setup you can register the location of the Viewer built by yourself and deployed to a specific location, for example:

{$IFDEF WIN32}
  RegisterMDViewerLocation(ExtractFilePath(Application.ExeName)+
    '..\..\Bin32\MDHelpViewer.exe');
{$ELSE}
  RegisterMDViewerLocation(ExtractFilePath(Application.ExeName)+
    '..\..\Bin64\MDHelpViewer.exe');
{$ENDIF}

Rules to open the correct file using HelpContext or HelpTopic

To test the application you can lauch the Home.md help using the menu About/Help: in the OnClick handler invoke the help:

procedure TfmMain.HelpMenuItemClick(Sender: TObject);
begin
  Application.HelpKeyword('home');
end;

In any Delphi component, you can define HelpType (htKeyword or htContext) and the specify HelpKeyword (string) or HelpContext (Integer).

When the user press "F1" inside the application, the HelpSystem is invoked with HelpKeyword or HelpContext.

Then the interface searches in the same folder of default file (specified into Application.HelpFile) the specific file using those rules:

Rules of precedence:

Release Notes

14 Jun 2024: ver. 2.3.2

10 May 2024: ver. 2.3.1

06 Apr 2024: ver. 2.3.0

20 Mar 2024: ver. 2.2.0

19 Mar 2024: ver. 2.1.2

3 Jan 2024: ver. 2.1.1

25 Oct 2023: ver. 2.0.1

23 Oct 2023: ver. 2.0.0

  1. Subscript <sub>text</sub> and Superscript <sup>text</sup>
  2. Formulas (using Google Chart API)
  3. ==Markers==
  4. Reference-style Links

20 Sep 2023: ver. 1.3.0

30 Jun 2023: ver. 1.2.0

29 Jun 2023: ver. 1.1.0

23 Jun 2023: ver. 1.0.0

Markdown Help Viewer in depth

Learn more about "MarkDown Help Viewer" within our wiki. Dive deeper into everything related to this tool, its features, and how to make the most of it.

License

Licensed under the Apache License, Version 2.0 (the "License");

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" 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.

Other libraries from Ethea:

SVGIconImageList - https://github.com/EtheaDev/SVGIconImageList/

StyledComponents - https://github.com/EtheaDev/StyledComponents

Delphi MarkdownProcessor - https://github.com/EtheaDev/MarkdownProcessor

Third parties libraries:

OpenSLL Library: Cryptography and SSL/TLS Toolkit

Copyright © 1998-2018 The OpenSSL Project. All rights reserved.

Delphi Markdown - https://github.com/grahamegrieve/delphi-markdown

Copyright (c) 2011+, Health Intersections Pty Ltd All rights reserved

Delphi Preview Handler - https://github.com/RRUZ/delphi-preview-handler

The Initial Developer of the Original Code is Rodrigo Ruz V. Portions created by Rodrigo Ruz V. are Copyright © 2011-2023 Rodrigo Ruz V.

Synopse/SynPDF - https://github.com/synopse/SynPDF

Copyright © Synopse: all right reserved.

HtmlToPdf - https://github.com/MuzioValerio/HtmlToPdf

Copyright © Muzio Valerio.

Image32 Library - http://www.angusj.com/delphi/image32/Docs/_Body.htm

Copyright ©2019-2023 Angus Johnson.

HTMLViewer - https://github.com/BerndGabriel/HtmlViewer

Copyright (c) 1995 - 2008 by L. David Baldwin

Copyright (c) 1995 - 2023 by Anders Melander (DitherUnit.pas)

Copyright (c) 1995 - 2023 by Ron Collins (HtmlGif1.pas)

Copyright (c) 2008 - 2009 by Sebastian Zierer (Delphi 2009 Port)

Copyright (c) 2008 - 2010 by Arvid Winkelsdorf (Fixes)

Copyright (c) 2009 - 2023 by HtmlViewer Team

External projects

To simpilfy compilation of projects they are added into ext folder

SVGIconImageList

HtmlViewer

vcl-styles-utils

markdownProcessor

StyledComponents

Delphi Support

Related links: embarcadero.com - learndelphi.org