-
Notifications
You must be signed in to change notification settings - Fork 134
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
Indent HTML sections based on level. #128
Comments
Also, consider also indenting the "text" under each heading. |
This might actually be harder than I originally thought. If you look at the generated HTML, each paragraph and heading is separate. I think the HTML generator would need to be updated to put each item in it's own I'm going to move this issue to the backlog until I see a higher priority over other issues. |
If a separate |
Implements doorstop-dev#128 by using the mdx_outline extension for python-markdown, which groups every heading into an appropriate <section> tag according to its header level.
Closed by #288 |
* Indent HTML sections based on level Implements doorstop-dev#128 by using the mdx_outline extension for python-markdown, which groups every heading into an appropriate <section> tag according to its header level. * Remove Python 3.3 support * Update dependencies * Update code to comply with latest rules * Remove pipenv workaround * Update tooling * Make output more coherent when using headers In the newly added 'header' beta feature, the header was added on a separate line in the Markdown and HTML outputs, like this: ``` ## 1.1 REQ002 {#REQ002 } ##Header Text ... ``` But the 'text' output does something different and puts the header to the right of the UID. I believe this is the intended format for this feature, so this commit changes the above output to: ``` ## 1.1 REQ002 Header {#REQ002 } Text ... ``` The TOC entry in the HTML output is updated accordingly. * Update wording * Document that Python 3.4+ is required * Add 'header' tags to some of the sample requirements * Add Gitter badge Closes doorstop-dev#286 * Add icon (linux) * Put uid to the right of the title * Only display uid once when no header exists * Allow user to resize font * Make some display only field in the UI uneditable * Add icon (windows) * Fix crashes related to selected item index in the GUI Was occuring when: - There were no item to select - The selected index was greater than the number of items in the new document being selected * main() returns the exit code instead of exiting * surround self.ignore trigger in try finally block * Make uid clickable link in the GUI. This has been done for: - The items text - The children links - The parent links * Replace Listview outline by a Treeview * Fix coding standard issues * Fix GUI tests issues * Fix GUI tests issues * Fix GUI tests issues * Fix GUI tests issues * Fix coding standard issues * Disable PyLint duplicate-code check * Fix coding standard issues * Fix documentation standard issues * Split pylint rules on to separate lines * Bump version to 1.5b1 * Bump version to 1.5b2 * Fix indentation for rST * Update tooling * Update tree styling
Implements doorstop-dev#128 by using the mdx_outline extension for python-markdown, which groups every heading into an appropriate <section> tag according to its header level.
Implements doorstop-dev#128 by using the mdx_outline extension for python-markdown, which groups every heading into an appropriate <section> tag according to its header level.
It may be helpful to indent sections to improve readability.
The text was updated successfully, but these errors were encountered: