Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jekyll_markdown_extension setting not working in user settings #90

Open
thespacedoctor opened this issue May 2, 2018 · 2 comments
Open

Comments

@thespacedoctor
Copy link

Summary of issue

The "jekyll_markdown_extension" setting works when I set it within the project settings file but not when I set it in the User settings file. If I set "jekyll_markdown_extension": "md" in the project settings the extension for new posts/drafts becomes md, but if I move this setting into the User settings the default markdown extension is used instead.

System details

  • System Platform?

macOS 11

  • Sublime Version?

3 - dev build 3167

@23maverick23
Copy link
Owner

@thespacedoctor Thanks for using the package.

I am not able to reproduce your issue, so I might need some additional details from you.

  1. Can you confirm that you are completely removing the "jekyll_markdown_extension" key from your project settings file (and not just passing an empty string like "")?
  2. What do your User and Project settings files look like? Can you paste the relevant pieces here?
  3. Can you confirm that you don't see any errors in your ST3 console (control+` on OSX)?

@thespacedoctor
Copy link
Author

Can you confirm that you are completely removing the "jekyll_markdown_extension" key from your project settings file (and not just passing an empty string like "")?

Yes, the setting is completely removed from project settings.

What do your User and Project settings files look like? Can you paste the relevant pieces here?

User Settings:

    // Optionally override the file extension format for Markdown files. Valid options
    // include: markdown, mdown, mkdn, mkd, md. Do not include the dot in your string value.
    // NOTE: We use "markdown" as the standard file extension for Markdown files
    // as suggested by John Gruber, developer of Markdown, in his blog post here:
    // http://daringfireball.net/linked/2014/01/08/markdown-extension
    "jekyll_markdown_extension": "md",

and project settings:

    "settings":
    {
        "Jekyll":
        {
            "jekyll_posts_path": "/Users/Dave/git_repos/thespacedoctor.co.uk/_posts",
            "jekyll_drafts_path": "/Users/Dave/git_repos/thespacedoctor.co.uk/_drafts",
            "jekyll_uploads_path": "/Users/Dave/git_repos/thespacedoctor.co.uk/assests/uploads"
        }
    },
    "build_systems":
    ...

Can you confirm that you don't see any errors in your ST3 console (control+` on OSX)?

yes, no errors. I'm sure the issue is something incredibly simple on my end.

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

No branches or pull requests

2 participants