Sidebar display method and system of document system
A sidebar and document technology, applied in the field of sidebar display methods and systems, can solve problems such as inconvenience for users to browse and access documents, inability to form a display effect of folding and unfolding titles, and complex sidebar display results, etc. Improve the user experience, facilitate browsing and understanding, and simplify the display effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0039] see figure 1 , which is a schematic flow chart of a method for displaying a sidebar of a document system provided in an embodiment of the present application.
[0040] It should be noted that the sidebar display method of the document system provided by the embodiment of the present application is applicable to document generation systems, for example, it can be applied to Docsify online document system or other document systems with the same or similar problems.
[0041] In this embodiment, the method may be implemented, for example, through the following steps S101-S103.
[0042] S101: The method pre-obtains information on the level and arrangement order of all titles in the sidebar, and judges the level to which each title belongs and the level of adjacent titles; wherein, when the title has a lower-level title after the title, the The title is determined as a parent-level title; when there is a higher-level title before the title, the title is determined as a sub-l...
no. 2 example
[0057] In the first embodiment above, the title can be folded and unfolded by triggering the title. However, in some scenarios, it is necessary to optimize the display of the title displayed on the sidebar even when the user does not trigger the title. When the user visits the document for the first time, displaying the main title of the document in the sidebar will be more helpful for users to browse and understand the document. In addition, since the title of the online document system has a link to the document page corresponding to the title, when the user triggers the title, the page will jump, and the sidebar needs to be displayed again. Therefore, the present application provides another sidebar display method of the document system. see figure 2 , which is a schematic flow chart of another sidebar display method of a document system provided by the embodiment of the present application.
[0058] In this embodiment, the method may be implemented, for example, throug...
no. 3 example
[0077] The method for displaying the sidebar of the document system provided by the embodiment of the present application has been introduced above, and the method provided by the embodiment of the present application will be introduced below in combination with specific scenarios.
[0078] In this scenario, the documentation system is the Docsify online documentation system. Since when a large number of Markdown source files are used to generate documents, the sidebar of the Docsify online document system will generate all titles, so first call the doneEach function in the Docsify online document system to read the title content in the sidebar and obtain the sidebar The information about the level and arrangement order of the titles, and the parent title and child title are determined by judging the level to which each title belongs and the level of the adjacent titles of the title. The heading level is the heading level rule set when writing a document in Markdown language, ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap