Package Details: vim-instant-markdown 0.1.1-4

Git Clone URL: (read-only, click to copy)
Package Base: vim-instant-markdown
Description: Instant Markdown previews from vim in a browser
Upstream URL:
Keywords: ftplugin markdown vim
Licenses: unknown
Submitter: tmplt
Maintainer: None
Last Packager: nytpu
Votes: 11
Popularity: 0.000000
First Submitted: 2016-03-04 14:52 (UTC)
Last Updated: 2019-07-24 14:33 (UTC)

Latest Comments

1 2 Next › Last »

jadelord commented on 2019-07-05 10:39 (UTC)

Please use the tagged version on github which contains some much needed bugfixes:

l3nn4rt commented on 2019-05-30 20:05 (UTC)

jq is called in the PKGBUILD, but it's not named as dependency for this package

cameel commented on 2019-05-26 18:38 (UTC) (edited on 2019-05-26 18:38 (UTC) by cameel)

Looking at the recent commits for both instant-markdown-d and vim-instant-markdown I don't see anything that looks like a fix but indeed instant-markdown-d does not crash for me with the new PKGBUILD so it must have been fixed somehow. Maybe it was actually a problem in itself and it got fixed there?

nytpu commented on 2019-05-26 17:00 (UTC)

Hi, I sincerely apologize for not catching that sooner, it is updated now. I also removed the patch as it seems to be no longer needed. If it still errors on build for anyone, comment, I'll replace the patch.

breitj commented on 2019-05-26 12:33 (UTC)

Hi, it seems that the checksum for the file 'instant-markdown.vim' is outdated.

cameel commented on 2019-04-19 07:36 (UTC)

Great, thanks.

By the way, the project has new maintainers now (Future of instant-markdown-d and vim-instant-markdown? #540) so hopefully this patch won't be necessary for long.

nytpu commented on 2019-04-18 18:00 (UTC) (edited on 2019-04-18 18:02 (UTC) by nytpu)

cameel I've added your changes to the PKGBUILD and the patch file. It seems to install fine with your changes.

cameel commented on 2019-03-25 00:24 (UTC) (edited on 2019-03-25 00:31 (UTC) by cameel)

instant-markdown-d installed by this package crashes for me with the following error message:

Option log level is not valid. Please refer to the README.

This seems to be an upstream bug. Patching it to use an older version of (as suggested in Fails on OS X #13) fixes the problem.

Here is an updated PKGBUILD if anyone is interested. I have also tweaked it to actually install instant-markdown-d from the tarball it downloads - it was just ignoring the tarball and redownloading it with npm.

# Maintainer: Tmplt <tmplt[at]dragons[dot]rocks>

pkgdesc="Instant Markdown previews from vim in a browser"
depends=('nodejs' 'npm' 'wget')
optdepends=('neovim: neovim support' 'vim: vim support')

package() {
  mkdir -p "$pkgdir/usr/lib/node_modules/"
  mkdir -p "$pkgdir/usr/share/vim/vimfiles/autoload/"
  mkdir -p "$pkgdir/usr/share/vim/vimfiles/after/ftplugin/markdown"

  cd "$srcdir"
  tar --extract --file "$_npmname-$_npmver.tgz"
  patch "package/package.json" "pin-socket-io-version-at-0.9.patch"
  tar --create --file "$_npmname-$_npmver-patched.tar" package/

  npm install                    \
    --global                     \
    --no-save                    \
    --production                 \
    --user   root                \
    --cache  "$srcdir/npm-cache" \
    --prefix "$pkgdir/usr"       \

  cp "$srcdir/instant-markdown.vim" "$pkgdir/usr/share/vim/vimfiles/after/ftplugin/markdown"

# vim: set ts=2 sw=2
--- package.json    2015-01-18 04:14:05.000000000 +0100
+++ package.json    2019-03-24 20:27:57.818719661 +0100
@@ -13,6 +13,6 @@
     "highlight.js": "^8.4.0",
     "markdown-it": "^3.0.3",
     "send": "~0.1.0",
-    "": ""
+    "": "~0.9"

tmplt commented on 2018-11-12 21:41 (UTC)

vim has been made optional.

Please note that I don't use this package anymore; feel free to contact me if you wish to maintain it. I will eventually disown it.

orestisf commented on 2018-11-08 11:55 (UTC)

Can you also make vim an optional dependency? So that we can use it with neovim without having vim installed.