Skip to content

Please make SUMMARY.md support urlencode markdown file name #1640

@xiefucai

Description

@xiefucai

Example,There is a markdown file with a question mark in its file name.

How can I get data from AsyncStorage and add it to initial state when using useReducer?.md

now i have to show it in SUMMARY.md

- [How can I get data from AsyncStorage and add it to initial state when using useReducer?](React/How can I get data from AsyncStorage and add it to initial state when using useReducer?)

and the result in toc is

<a href="React/How can I get data from AsyncStorage and add it to initial state when using useReducer?.html">How can I get data from AsyncStorage and add it to initial state when using useReducer?</a>

after click the link, the page will jump to the wrong url, the part "?.html" of the url will be the search part of url.

I hope I can write the markdown as

- [How can I get data from AsyncStorage and add it to initial state when using useReducer?](React/How%20can%20I%20get%20data%20from%20AsyncStorage%20and%20add%20it%20to%20initial%20state%20when%20using%20useReducer%3F.md)

and the result is

<a href="React/How%20can%20I%20get%20data%20from%20AsyncStorage%20and%20add%20it%20to%20initial%20state%20when%20using%20useReducer%3F.html">How can I get data from AsyncStorage and add it to initial state when using useReducer?</a>

so, please support

  1. someone can urldecode the file name in SUMMARY.md;
  2. urldecode the file path before check file exists;
  3. urlencode the name of markdown file before output as html;

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LinksArea: Issues with linksA-SummaryArea: The summary page, organization of pages.E-Help-wantedExperience: Help Needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions