A markdown editor supports exporting HTML.
This program is initially written in pure win32 APIs just like this. Later it's rewritten using wxWidgets, you can build it in Windows and Linux.
Download binaries: Release
Try this markdown file: test.md
sudo apt update
sudo apt install build-essential cmake git
# Debian 9
sudo apt install libwxgtk3.0-dev
# Debian 10
sudo apt install libwxgtk3.0-gtk3-dev
git clone https://github.com/mooction/mynotepad
mkdir mynotepad/build
cd mynotepad/build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
sudo make installThat's all. Run mynotepad to launch the program.
Notice: No longer support 32-Bit (x86) Windows.
- Download CMake and wxWidgets source code or binaries. If you use wxWidgets binaries, download 3 archives:
- Header Files (
includefolder) - 64-Bit Development Files (
lib/vc14x_x64_dllfolder) - 64-Bit Release DLLs (
lib/vc14x_x64_dllfolder)
- Extract them to the same folder and merge the
lib/vc14x_x64_dllfolder. For example, the directory tree is like:
D:\
|----wxWidgets-3.1.3
|---------------include
|--------msvc
|--------wx
|---------------lib
|--------vc14x_x64_dll
|-------------mswu
|-------------mswud
|-------------wxbase31u.lib
......
|-------------wxrc.exe
......
See CMakeLists.txt for more detail.
-
Then open CMake-GUI, click
Browse SourceandBrowse Buildto choose a correct place. -
Click
Configure, specify generator for this project. If you are using Visual Studio, then chooseVisual Studio 15 2017 Win64or other version, butWin64is required. -
Set
wxWidgets_ROOT_DIRandwxWidgets_LIB_DIRto the wxWidgets library folder. For the instance above, setwxWidgets_ROOT_DIRtoD:\wxWidgets-3.1.3\and setwxWidgets_LIB_DIRtoD:\wxWidgets-3.1.3\lib\vc14x_x64_dll. -
Click
Configureagain, then clickGenerate, finally we get a Visual Studio solution.
Use cmake -D<VAR>=<VALUE> to change any option.
| Option | Default | Description |
|---|---|---|
CMAKE_BUILD_TYPE |
Debug | Build Type for Unix (Release / Debug) |
- (Linux) Copied text will disappear after the window closed
- Search & replace
- Encode conversion (only support utf-8 currently)
See wiki page.