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

Support reading an environment variable for the directory to write to #13

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

mapitman
Copy link
Owner

If an environment variable MDVIEW_DIR is present, HTML files will be written there instead of the default OS temporary directory.

One reason for this is that Firefox on Ubuntu is now distributed as a Snap and it can't read from /tmp.

Closes #12

If an environment variable MDVIEW_DIR is present, HTML files will be
written there instead of the default OS temporary directory.

One reason for this is that Firefox on Ubuntu is now distributed as a
Snap and it can't read from /tmp.

Closes #12
@mapitman mapitman self-assigned this Sep 18, 2023
@mapitman mapitman merged commit 05ca22a into main Sep 18, 2023
1 check passed
@mapitman mapitman deleted the support-env-var-for-output branch September 18, 2023 03:18
schmehla pushed a commit to schmehla/mdview-mathjax that referenced this pull request Dec 17, 2023
Support reading an environment variable for the directory to write to
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not compatible with Firefox Snap
1 participant