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 install
That'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 (
include
folder) - 64-Bit Development Files (
lib/vc14x_x64_dll
folder) - 64-Bit Release DLLs (
lib/vc14x_x64_dll
folder)
- Extract them to the same folder and merge the
lib/vc14x_x64_dll
folder. 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 Source
andBrowse Build
to choose a correct place. -
Click
Configure
, specify generator for this project. If you are using Visual Studio, then chooseVisual Studio 15 2017 Win64
or other version, butWin64
is required. -
Set
wxWidgets_ROOT_DIR
andwxWidgets_LIB_DIR
to the wxWidgets library folder. For the instance above, setwxWidgets_ROOT_DIR
toD:\wxWidgets-3.1.3\
and setwxWidgets_LIB_DIR
toD:\wxWidgets-3.1.3\lib\vc14x_x64_dll
. -
Click
Configure
again, 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.