nilgradisnik / markdown-rs Goto Github PK
View Code? Open in Web Editor NEWSimple Markdown editor
Simple Markdown editor
I've been looking for a while an editor like this one. It comes with everything I need. Thank you very much!!!
In case someday you decide to make a "not so simple" version, consider some mockups I did a few months ago to take some ideas: https://github.com/gnacho/Gnome-MD
Btw, looks great with GNOME once the "Enable Focus mode" is active.
PS: let me know if you need a hand with translation to Spanish, I'll manage ;)
Great work again!! ๐ฏ
Please consider adding a license, ideally dual-licensing under Apache 2.0 and MIT terms in the Rust tradition:
https://github.com/rust-lang/rust/blob/master/COPYRIGHT
Thank you!
Running cargo run
inside your repo follows with the error:
error: failed to run custom build command for `gtk-source-sys v0.10.0`
Caused by:
process didn't exit successfully: `/home/admin/markdown-rs/target/debug/build/gtk-source-sys-cd17196798cd9f84/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=GTKSOURCEVIEW_3.0_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=GTKSOURCEVIEW_3.0_STATIC
cargo:rerun-if-env-changed=GTKSOURCEVIEW_3.0_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
--- stderr
`"pkg-config" "--libs" "--cflags" "gtksourceview-3.0" "gtksourceview-3.0 >= 3.0"` did not exit successfully: exit status: 1
--- stderr
Package gtksourceview-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtksourceview-3.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gtksourceview-3.0', required by 'virtual:world', not found
Package 'gtksourceview-3.0', required by 'virtual:world', not found
warning: build failed, waiting for other jobs to finish...
error: build failed
Hi, great work so far. I wanted to dive in in your code, but faced some problems. Solving them was not very hard, but you should add the necessary libs for compiling in the README.md. That way a newcomers will have it easier :)
PS: I had to execute following commands on Ubuntu 18.04:
sudo apt install libwebkit2gtk-4.0-dev
sudo apt install ibgtksourceview-3.0-dev
Also you should add that you cannot compile if you run Ubuntu 16.04 or lower because of dependency mess.. (there is no newer version of gdk available)
error: failed to run custom build command for gdk-sys v0.6.0 process didn't exit successfully: /markdown-rs/target/debug/build/gdk-sys-e2a4e4c35fe8cc31/build-script-build (exit code: 1)
--- stderr "pkg-config" "--libs" "--cflags" "gdk-3.0 >= 3.22" did not exit successfully: exit code: 1 --- stderr
Requested gdk-3.0 >= 3.22 but version of GDK is 3.18.9
warning: build failed, waiting for other jobs to finish... error: build failed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.