[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6548":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":16,"starSnapshotCount":16,"syncStatus":31,"lastSyncTime":32,"discoverSource":33},6548,"mdp","visit1985\u002Fmdp","visit1985","A command-line based markdown presentation tool.","",null,"C",5264,262,68,10,0,1,52,68.96,"GNU General Public License v3.0",false,"master",true,[25,26,27],"command-line","markdown","presentation","2026-06-12 04:00:29","\n## mdp - A command-line based markdown presentation tool.\n\n![image](https:\u002F\u002Fcloud.githubusercontent.com\u002Fassets\u002F2237222\u002F5810237\u002F797c494c-a043-11e4-9dbd-959cab4055fa.gif)\n\n---\n\n***How to get started:***\n\nmdp needs the ncursesw headers to compile.\nSo make sure you have them installed:\n\n- on Raspbian (Raspberry Pi) you need `libncurses5-dev` and `libncursesw5-dev`\n- on Fedora you need `ncurses-devel` and `ncurses-c++-libs`\n\nNow download and install mdp:\n\n    $ git clone https:\u002F\u002Fgithub.com\u002Fvisit1985\u002Fmdp.git\n    $ cd mdp\n    $ make\n    $ make install\n    $ mdp sample.md\n\n- On Arch Linux, you can use the existing [package](https:\u002F\u002Fwww.archlinux.org\u002Fpackages\u002Fextra\u002Fx86_64\u002Fmdp\u002F).\n- on Cygwin you can use the existing [package](https:\u002F\u002Fcygwin.com\u002Fcgi-bin2\u002Fpackage-grep.cgi?grep=mdp.exe) from the setup program.\n- On Debian, you can use the existing [DEB package](https:\u002F\u002Ftracker.debian.org\u002Fpkg\u002Fmdp-src), or run `apt-get install mdp`.\n- On FreeBSD, you can use the port [misc\u002Fmdp](http:\u002F\u002Fwww.freshports.org\u002Fmisc\u002Fmdp).\n- On MacOS, use either the [Homebrew Formula](http:\u002F\u002Fbrewformulas.org\u002FMdp) by running `brew install mdp` or install with [MacPorts](https:\u002F\u002Fports.macports.org\u002Fport\u002Fmdp\u002F) with `sudo port install mdp`.\n- On Slackware, grab the SlackBuild here: (http:\u002F\u002Fslackbuilds.org\u002Fapps\u002Fmdp\u002F), or run `sbopkg -i mdp`.\n- On Ubuntu, you can use the existing [DEB package](https:\u002F\u002Flaunchpad.net\u002Fubuntu\u002F+source\u002Fmdp-src), or run `apt-get install mdp`.\n\nMost terminals support 256 colors only if the TERM variable is\nset correctly. To enjoy mdp's color fading feature:\n\n    $ export TERM=xterm-256color\n\n---\n\n***How to use it:***\n\nHorizontal rulers are used as slide separator.\n\nSupports basic markdown formatting:\n\n- line wide markup\n    - headlines\n    - code\n    - quotes\n    - unordered list\n\n- in-line markup\n    - bold text\n    - underlined text\n    - code\n\nSupports headers prefixed by @ symbol.\n\n- first two header lines are displayed as title and author\n    in top and bottom bar\n\nReview sample.md for more details.\n\n---\n\n***Default controls:***\n\n- h, j, k, l, Arrow keys,\n    Space, Enter, Backspace,\n    Page Up, Page Down - next\u002Fprevious slide\n- Home, g - go to first slide\n- End, G - go to last slide\n- 1-9 - go to slide n\n- r - reload input file\n- q - exit\n\n---\n\n***Configuration***:\n\nA `config.h` configuration file is available in `include\u002F`, change the settings you want and recompile.\nColors, keybindings and list types are configurable as of now. Note that configuring colors only works in 8 color mode.\n\n---\n\n***How to debug it:***\n\nTo make a debug version of `mdp`, just type:\n\n    $ make DEBUG=1\n\n***Convert to PDF:***\n\n- Install `md2pdf` by obtaining the [release](https:\u002F\u002Fgithub.com\u002Fmandolyte\u002Fmdtopdf\u002Freleases) for your arch and OS or, if\n  you have `go` installed, invoke:\n\n```sh\n$ go install github.com\u002Fmandolyte\u002Fmdtopdf\u002Fcmd\u002Fmd2pdf@latest\n```\n- If you require syntax highlighting, download the [gohighlight lexers](https:\u002F\u002Fgithub.com\u002Fjessp01\u002Fgohighlight\u002Ftree\u002Fmaster\u002Fsyntax_files)\n\n`md2pdf` supports all major `mdp` features and accepts local files, remote HTTP(s) URL and `STDIN` inputs.\nThe below command will convert an `mdp` compatible markdown file to a PDF with a dark theme,\nsyntax highlighting (you'll need to provide the language hint, of course), page\u002Fslide separation and a footer:\n\n```sh\nmd2pdf -i https:\u002F\u002Fgithub.com\u002Fjessp01\u002Fcrash-course-in\u002Fraw\u002Fmain\u002Fcourses\u002Fapt_dpkg_deb\u002Fapt_dpkg_deb.md \\\n    -o apt_dpkg_deb.pdf \\\n    -s ~\u002F.config\u002Fzaje\u002Fsyntax_files \\\n    --theme dark \\\n    --new-page-on-hr \\\n    --with-footer \\\n    --author \"Jesse Portnoy \u003Cjesse@packaman.io>\" \\\n    --title \"A crash course on handling deb packages\"\n```\n\nSince `markdown` does not support the centering escape sequences (i.e: `->` and `\u003C-`), you will want to remove these before converting, for example:\n\n```sh\n$ sed 's@^->\\s*\\(#.*\\)\\s*\u003C-@\\1@g' sample.md | ~\u002Fgo\u002Fbin\u002Fmd2pdf -o mdp.pdf \\\n    --theme dark --new-page-on-hr\n```\n\n","mdp 是一个基于命令行的 Markdown 演示工具。它利用 C 语言和 ncurses 库实现，支持基本的 Markdown 格式如标题、代码块、引用及列表等，并能够通过水平分割线来分隔幻灯片。mdp 提供了丰富的键盘快捷键操作，便于用户在演示过程中进行导航，还支持配置文件自定义颜色主题和按键绑定。由于其轻量级特性和对文本格式的良好支持，mdp 非常适合开发者和技术人员在终端环境下制作和展示技术文档或报告。",2,"2026-06-11 03:07:35","top_language"]