Relative Link to Repo’s Root from Markdown file

After some research I’ve found this solution: [the real relative root of any fork](/../../) It always points to the default branch. For me it’s Ok, so it’s up to you PS With such a trick you can also access the following abilities: [test](/../../tree/test) – link to another branch [doc/readme.md](/../../edit/master/doc/readme.md) – open in editor [doc/readme.md](/../../delete/master/doc/readme.md) – … Read more

Markdown Implementations for C/C++ [closed]

peg-markdown depends on GLib and other 3rd part tools. I’ve tested it, it works quite well. Advantages: Dual-licensed under GPL and MIT. Uses internally formal grammar, so easy to maintain and extend. Disadvantages: Depends on GLib Provides C API. Cpp-Markdown, Most C++ code but it is quite slow and little bit bloated. On the other … Read more

Pandoc Markdown to PDF image position

Did you try to deactivate the implicit_figures as in pandoc -f markdown-implicit_figures -t pdf myfile.md To solve the size problem you could also try to fix the size within the markdown file with an attribute. Something like that can do the trick: ![Caption text](/path/to/image){ width=50% }

VSCode preview markdown by default

I tried this in VS Code 1.48.1 Method 1 Open a markdown (*.md) file, then open the Command Palette and select >View: Reopen Editor With… > Markdown Preview (Experimental). Method 2 Add these lines to your settings.json file { // your other settings … “workbench.editorAssociations”: [ { “viewType”: “vscode.markdown.preview.editor”, “filenamePattern”: “*.md” } ], } Method … Read more