[Slackbuilds-users] Suggestion: monospace font for README

Ryan P.C. McQuen ryan.q at linux.com
Sun Nov 6 21:03:57 UTC 2016


>
>
> That's IMHO why Markdown would be the best solution for README files.
>

I am a big fan of Markdown. How much support is needed? If we only want to
be able to have code snippets, I wrote a really lightweight JavaScript
library to parse text and syntax highlight blocks of code like this:

```sh
#!/bin/sh
slackpkg_update_only() {
  slackpkg update gpg
  slackpkg update
}
```

It ends up looking something like the attached image.[image: Screenshot at
2016-11-06 13:00:26.png]

https://github.com/ryanpcmcquen/codeFormatter

If we only need code snippet support, this may be easier to integrate than
a full fledged markdown parser (if people are even onboard with that).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20161106/596d7beb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot at 2016-11-06 13:00:26.png
Type: image/png
Size: 3259 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20161106/596d7beb/attachment-0001.png>


More information about the SlackBuilds-users mailing list