Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions examples/render-input-markdown/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,13 @@ Quit with <kbd>ctrl</kbd>-<kbd>Q</kbd>
If you're on linux and there's a compilation error you may have to install xorg-dev and libxcb-composite0-dev, which can be done on apt based distributions with

sudo apt install xorg-dev libxcb-composite0-dev

If you're on macOS and there's a compilation error you may have to install `libxcb` with

brew install libxcb

and then `brew list libxcb` to see the library path (something like `/opt/homebrew/Cellar/libxcb/1.16/lib/libxcb.1.1.0.dylib`)

and `export LIBRARY_PATH="$LIBRARY_PATH:<YOUR_XCB_DYLIB_DIRECTORY_PATH>"` (for example `export LIBRARY_PATH="$LIBRARY_PATH:/opt/homebrew/Cellar/libxcb/1.16/lib`) to add it to the library path.

Then run `cargo run --example render-input-markdown`.