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

Searching #129

Closed
jrappen opened this issue Mar 14, 2017 · 2 comments
Closed

Searching #129

jrappen opened this issue Mar 14, 2017 · 2 comments

Comments

@jrappen
Copy link
Contributor

jrappen commented Mar 14, 2017

Assume the following code:

<!-- Readme -->

# Header 1

## Header 2

### Header 3

#### Header 4

##### Header 5

###### Header 6

Some information.

When using the search plugin and doing a search for Some information., it is shown in the results as part of the ## Header 2 section.

As Markdown has header levels 1-6 I would appreciate the example above resulting in Some information. being part of the ###### Header 6 section.

Including the tree structure in the search results entries would be nice, too. Like:

---

Readme > Header 1 > Header 2 > Header 3 > Header 4 > Header 5 > Header 6
... Some information ...

---

... > ... > ... > ...
... Some information. ...

---

Compare search results via algolia:

search

@jrappen
Copy link
Contributor Author

jrappen commented Mar 22, 2017

Another possibility would be to show search results in the main area like gitbooks.

Compare:

@jrappen
Copy link
Contributor Author

jrappen commented Apr 4, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants