Skip to content

Instantly share code, notes, and snippets.

@tnir
Created October 12, 2017 03:29
Show Gist options
  • Save tnir/bf6a9549c2744a4b96d73758008058b7 to your computer and use it in GitHub Desktop.
Save tnir/bf6a9549c2744a4b96d73758008058b7 to your computer and use it in GitHub Desktop.
No Marp window appears

Marp not working

Even when launching Marp.app, no new window appears.

  • Marp 0.0.11 (0.0.11)
  • macOS 10.12.6 (Sierra) and 10.13 (High Sierra)

Check their Application config

See ~/Library/Application\ Support/Marp/config.json (attached as config.json).

In my config, I could see windowPosition.x = -2560, windowPosition.y = -390.

Workaround

Set windowPosition.x to 0 and windowPosition.y = 0.

Marpが起動しない (起動するけどウィンドウが表示されない)

Marp.appを起動しても、新規ウィンドウが表示されない。

  • Marp 0.0.11 (0.0.11)
  • macOS 10.12.6 (Sierra) および 10.13 (High Sierra)

環境設定

~/Library/Application\ Support/Marp/config.json (config.json添付) を確認する。

発生した環境の設定は windowPosition.x = -2560windowPosition.y = -390 となっていた。

解決方法

windowPosition.xwindowPosition.y をともに 0 に設定する。

{
"editor": {
"fontFamily": "Consolas, monaco, monospace",
"fontSize": "14px"
},
"fileHistory": [
"/tmp/something.md",
"/tmp/anything.md"
],
"fileHistoryMax": 8,
"splitterPosition": 0.2,
"viewMode": "list",
"windowPosition": {
"height": 1440,
"maximized": true,
"width": 2560,
"x": 0,
"y": 0
}
}
{
"editor": {
"fontFamily": "Consolas, monaco, monospace",
"fontSize": "14px"
},
"fileHistory": [
"/tmp/something.md",
"/tmp/anything.md"
],
"fileHistoryMax": 8,
"splitterPosition": 0.2,
"viewMode": "list",
"windowPosition": {
"height": 1440,
"maximized": true,
"width": 2560,
"x": -2560,
"y": -390
}
}
@tnir
Copy link
Author

tnir commented Oct 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment