markdown-modeプラグインのライブプレビューコマンド(mode、export、re-export)を実行するとエラー "wrong-type-argument stringp nil" ...)。 markdown-live-preview-modeは新鮮なemacsを起動してただちにコマンドを実行すると1回しか通過しません。しかし、マークダウン元で何かを変更しても、それは更新されません。Emacsマークダウンモードライブプレビューdoesn 'work-wrong-type-argument stringp nil
私はmardown HTMLを生成するためにpandocを使用します。ここでは
(custom-set-variables
'(markdown-command "/usr/bin/pandoc"))
は、デバッグログです:値下げ - ライブプレビュー・輸出用
(1)
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
expand-file-name(nil)
eww-open-file(nil)
markdown-live-preview-window-eww(nil)
markdown-live-preview-export()
call-interactively(markdown-live-preview-export record nil)
command-execute(markdown-live-preview-export record)
helm-M-x(nil #("markdown-live-preview-export" 0 28 (match-part "markdown-live-preview-export")))
call-interactively(helm-M-x nil nil)
command-execute(helm-M-x)
(2)についてマークダウン - ライブプレビューモード
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
expand-file-name(nil)
eww-open-file(nil)
markdown-live-preview-window-eww(nil)
markdown-live-preview-export()
markdown-live-preview-mode(toggle)
call-interactively(markdown-live-preview-mode record nil)
command-execute(markdown-live-preview-mode record)
helm-M-x(nil #("markdown-live-preview-mode" 0 26 (match-part "markdown-live-preview-mode")))
call-interactively(helm-M-x nil nil)
command-execute(helm-M-x)
ewwに生成されたhtmlファイルの正しいパスを渡さないようです。代わりにそれはゼロです。
ありがとうございます!
怪しいですね。 Markdown Emacsコードの管理者に報告することを検討してください。 – Drew