## About Markdown files are a wonderful tool to get formatted, visually appealing, information to people in a minimal way. Except 9 times out of 10 you need an entire web browser to quickly open a file... Introducing **Inlyne**, a GPU powered yet browserless tool to help you quickly view markdown files in the blink of an eye 👀. ## Installation `inlyne` is already present in a handful of different package repos. Installation should be mostly painless as _most_ things come pre-bundled. [![Packaging status](https://repology.org/badge/vertical-allrepos/inlyne.svg?exclude_unsupported=1)](https://repology.org/project/inlyne/versions) ### Building from Source There are a small handful of dependencies needed to build `inlyne` from source. Namely 1. `cargo` with a somewhat recent Rust toolchain [(the relevant docs)](https://www.rust-lang.org/learn/get-started) 2. A C-compiler 3. (On Linux) Development libraries for `fontconfig`, `xkbcommon`, and `wayland` (when the `wayland` feature flag is set) For instance on Ubuntu `gcc` covers 2. and `libfontconfig-dev`, `libxkbcommon-dev` and `libwayland-dev` would cover 3. ## Features Over time the features of this application will continue to grow. However there are a few core features that will remain at the heart of the project. - **Browserless** - People shouldn't need electron or chrome to quickly view markdown files in a repository. - **GPU Powered** - Thanks to the [WGPU Project](https://github.com/gfx-rs/wgpu) rendering can and will be done as much on the GPU as we can get away with. - **Basic HTML Rendering** - HTML is used in almost all project markdown files, thus having the bare minimum html to support common use cases is necessary, but don't expect forms and buttons. - **Live Code Change** - Inlyne will monitor your markdown file for any write modifications and automatically refresh the document where you left off. It's designed to work seamlessly and allow you to make edits on the fly. ## What does it support? #### Tables | Super cool tables | For organising data| |-------------------|--------------------| | Favourite band | Nickleback | #### Sizable images #### Code Blocks (with syntect highlighting) ```rust // Code thats drawing this text let bounds = (screen_size.0 - pos.0 - DEFAULT_MARGIN, screen_size.1); self.glyph_brush.queue(&text_box.glyph_section(*pos, bounds)); ``` #### Lists and Links #### Tasklists - [x] Watch Game of Thrones - [ ] Feed the cat #### Hideable sections
Text/Image..
alignment..
:)
#### Quote Blocks > “Optimism is an occupational hazard of programming: feedback is the treatment. “ Kent Beck #### Text Effects Are these text effects ~~to~~ too **much**? Theres no such thing ## Configuration Use `inlyne --help` to see all the command line options. Some of which can be set permentantly by placing an `inlyne.toml` file into a directory called `inlyne` within the default [dirs](https://crates.io/crates/dirs) configuration folder for your respective OS: - Linux: `/home/alice/.config/inlyne/inlyne.toml` - Windows: `C:\Users\Alice\AppData\Roaming\inlyne\inlyne.toml` - Mac: `/Users/Alice/Library/Application Support/inlyne/inlyne.toml` Checkout `inlyne.default.toml` for an example configuration. ## FAQ **_Is this a html markdown or html renderer?_** All markdown files are converted to html thanks to [comrak](https://github.com/kivikakk/comrak) and rendered from there. So technically its a markdown converter and html renderer. However for obvious complexity reasons, inlynes only going to support enough html to get by rendering 95% of markdown files such as `