Skip to content

blackmirroxx/igneous-md

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

127 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒ‹ Igneous-md

The simple and lightweight markdown framework / viewer written in rust

Igneous-md is a gfm compatible markdown viewer and viewer framework with a focus of staying lightweight and extensible

Features

  • Syntax highlighting similar to GitHub using highlight.js
  • Standalone markdown viewer outside browser
  • Switching of stylesheets on the fly
  • Ability to add custom CSS
  • Export generated HTML
  • Works offline

To-do

  • Optimize performance

    • Fix slow shutdown times
  • Write tests with hyperfine

  • Create packages

  • Allow multiple running instances at the same time on different docs

  • Add change streaming API

    • Editor integration either via plugin
  • Add github theme closer to github itself (limit width and center content)

Requiremens

  • rust 1.89+
  • gtk4
  • webkit-gtk 2.3x+

Usage

igneous-md view path/to/file.md

For more information see docs.md

A markdown viewer Framework?

Yes. It's simpler than it sounds.

Since igneous-md works by using a server in the background and then communicates with the built-in viewer, as well as the browser, using https and websockets anyone could use this to write their own viewer.

The benefits of this being you would receive all of the hot-reloading and conversion from md to html for free, while having full freedom to implement your viewer however they would like.

The only real limitation on this is what the websocket json-protocol is written to support. (PRs welcome)

This aspect of igneous-md is still experimental, but if you already want to get started check out ./crates/igneous-md/src/handlers/ws.rs and have a look at what is possible right now.

If you want to only use igneous-md for this be sure to disable the viewer cargo feature.

Attribution

Many thanks to all the people, who have created/contributed to technology used in the creation this project.

GitHub for their markdown styling and markdown-alert icons.

License

This project is licensed under either of

at your option.

About

๐ŸŒ‹ Simple and lightweight gfm markdown viewer / framework written in rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 89.1%
  • Nix 7.7%
  • JavaScript 3.2%