Skip to content
A C++ Qt QPlainTextEdit widget with markdown highlighting support and some other extras
Branch: develop
Clone or download
Latest commit d3d480d Mar 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
media added support for case sensitive search May 6, 2016
trans refactoring to QPlainTextEditSearchWidget Nov 30, 2017
.gitignore changed to #pragma once and ignored a directory Jan 14, 2016
.travis.yml
CMakeLists.txt fix build Mar 10, 2019
LICENSE year bump to 2019 Dec 31, 2018
README.md migration from QTextEdit to QPlainTextEdit Sep 6, 2017
appveyor.yml
main.cpp make default test application a bit more useful Mar 10, 2019
mainwindow.cpp
mainwindow.h make default test application a bit more useful Mar 10, 2019
mainwindow.ui migration from QTextEdit to QPlainTextEdit Sep 6, 2017
markdownhighlighter.cpp simplify italic regex by using some anonymous captures Mar 10, 2019
markdownhighlighter.h fix formatting of links Mar 10, 2019
media.qrc added support for case sensitive search May 6, 2016
qmarkdowntextedit-headers.pri
qmarkdowntextedit-sources.pri refactoring to QPlainTextEditSearchWidget Nov 30, 2017
qmarkdowntextedit.cpp fixed numpad 0 being recognized as tick character Feb 20, 2019
qmarkdowntextedit.h year bump to 2019 Dec 31, 2018
qmarkdowntextedit.pri made `.pri` files to include the sources, resources and headers Feb 4, 2016
qmarkdowntextedit.pro fixed Windows build process Nov 16, 2016
qplaintexteditsearchwidget.cpp year bump to 2019 Dec 31, 2018
qplaintexteditsearchwidget.h
qplaintexteditsearchwidget.ui refactoring to QPlainTextEditSearchWidget Nov 30, 2017
screenshot.png did some text, default style, readme changes and added a new screenshot Dec 15, 2016

README.md

QMarkdownTextEdit

Build Status Linux/OS X Build Status Windows

QMarkdownTextEdit is a C++ Qt QPlainTextEdit widget with markdown highlighting and some other goodies.

Features

  • markdown highlighting
  • clickable links with Ctrl + Click
  • block indent with Tab and Shift + Tab
  • duplicate text with Ctrl + Alt + Down
  • searching of text with Ctrl + F
    • jump between search results with Up and Down
    • close search field with Escape
  • replacing of text with Ctrl + R
    • you can also replace text with regular expressions or whole words
  • and much more...

Screenshot

Screenhot

How to use this widget

  • include qmarkdowntextedit.pri to your project like this include (qmarkdowntextedit/qmarkdowntextedit.pri)
  • add a normal QPlainTextEdit to your UI and promote it to QMarkdownTextEdit (base class QPlainTextEdit)

References

Disclaimer

This SOFTWARE PRODUCT is provided by THE PROVIDER "as is" and "with all faults." THE PROVIDER makes no representations or warranties of any kind concerning the safety, suitability, lack of viruses, inaccuracies, typographical errors, or other harmful components of this SOFTWARE PRODUCT.

There are inherent dangers in the use of any software, and you are solely responsible for determining whether this SOFTWARE PRODUCT is compatible with your equipment and other software installed on your equipment. You are also solely responsible for the protection of your equipment and backup of your data, and THE PROVIDER will not be liable for any damages you may suffer in connection with using, modifying, or distributing this SOFTWARE PRODUCT.

You can’t perform that action at this time.