Skip to content

2 Questions: Referencing md in different directory; multiple summary.md? #113

Answered by abhinav
stratus-ss asked this question in Q&A
Discussion options

You must be logged in to vote

Hey there! Thanks for the issue.

Question 1: The choice to prevent references outside the current directory was partly a security measure. I don't want the program to try to grab, say, ~/.aws/config. There are two workarounds to this:

  1. Create symlink to ../Intro.md and ../Quay_Prerequisites.md in the current directory.

    ln -s ../Intro.md ./Intro.md
    ln -s ../Quay_Prerequisites.md.md ./Quay_Prerequisites.md
    

    That explicitly brings them in-scope in the current directory and you should be able to use them.

  2. Place the summary.md in the parent directory -- this will require adjusting the other links though, so this is probably a bad idea for you.

I would be open to adding an -unsafe flag to …

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by abhinav
Comment options

You must be logged in to vote
2 replies
@abhinav
Comment options

@abhinav
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #111 on October 25, 2023 03:25.