Skip to content
This repository has been archived by the owner on May 17, 2018. It is now read-only.

Build system not respecting 'parser' setting #161

Closed
int3h opened this issue Jan 14, 2014 · 4 comments
Closed

Build system not respecting 'parser' setting #161

int3h opened this issue Jan 14, 2014 · 4 comments

Comments

@int3h
Copy link
Contributor

int3h commented Jan 14, 2014

In the default settings file, the 'parser' option is described as

Sets the parser used for build markdown to html.

NOTE: The parser setting is not for the preview commands now.
The preivew have sperated commands for each parser markdown.

This implies that adding the line "parser": "github" to your Markdown Preview user settings file will cause running the Markdown build system to use GitHub flavored markdown. However, this is not the case; the build system will always use the built-in "markdown" compile.

In fact, looking through the source, I can't find a situation where the "parser" setting is ever used.

Markdown.sublime-build does define a build variant named "Build with Github API", but running it causes the error "Unable to find target command: markdown_build_github".

Expected behavior: when running the build system via Ctrl/Super+b, Markdown Preview should render the output in whatever format the "parser" setting is set to.

Additionally, because the setting controls the parser, the "Build with Github API" build variant is redundant and should be removed.

@rzhb
Copy link
Contributor

rzhb commented Jan 15, 2014

same here

@kud
Copy link

kud commented Feb 16, 2014

Yep, same here.

@revolunet
Copy link
Owner

can you guys please update your install "package manager -> upgrade packages" and tell me if the issue is fixed for you ?

thanks!

@kud
Copy link

kud commented Feb 19, 2014

Works like a charm. Cheers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants