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

Serving for a directory support. #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

simonmysun
Copy link

Hi I have added the feature I requested yesterday(#14), with some tricky ways. You can run markmon ./ to view a directory of markdown files.

Now I can write hyperlinks in the markdown file and just click it to view what it links to. That's really helpful when I'm dealing with large articles. I split it into parts, and edit them respectively.

However there's some problem:

  • The original hash tag is replaced, so the anchors may cannot be automatically jump to. But a little additional JavaScript can fix this;
  • You have to make two request to open a page, which makes it a bit slow;
  • I haven't edited the document. I don't know how;
  • I don't think it will work fine with large amount of requests and file changes.

If you are satisfied to my pull request you can merge it.

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.

1 participant