Skip to content

Sublime-Text-Markmon: Setting --projectdir to Markdown folder path #11

@raabf

Description

@raabf

If I understand that right Sublime-Text-Markmon will leave by default the --projectdir option of makmon empty, except if projectdir is statically set in sublime-text-markmon.sublime-settings file. Is that right?

I'm interested to simply set projectdir to the folder of the markdown file which is actually processed by makmon. Also I want to set the command option to a script also depending on the path of the markdown file.

This should be possible if you get the folder of the markdown file in class MarkmonSettings: in markmon.py. I assume the folder is already saved in variable anywhere in the plugin, but actually I can't figured out where. Can you perhaps help me to get that working for my own?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions