Skip to content

Commit

Permalink
Fix: styles directory added to package data and a feature list is wri…
Browse files Browse the repository at this point in the history
…tten.
  • Loading branch information
pylover committed Aug 31, 2024
1 parent c7f5bee commit fe9c6c1
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
recursive-include yhttp/markdown/templates *
recursive-include yhttp/markdown/static *
recursive-include yhttp/markdown/styles *
recursive-include yhttp/markdown/defaultmetadata *
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,23 @@

Markdown server using yhttp.


## Features

- Serve a directory of markdown files and subdirectories as HTML using
[markdown2](https://github.com/trentm/python-markdown2).
- Personalizable favicon, touch-icon logo and etc.
- Syntaxt highlighting for code blocks + themes using
[pygment](https://pygments.org/).
- Copy-to-clipboard buttons for code-blocks and HTML bookmarks.
- Resizable sidebat and page layout powered by CSS Flexbox.
- Breadcrumbs (path) navigator.


## Install
```bash
pip install yhttp-markdown
```

## Usage

Expand Down
2 changes: 2 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Now
- current dir
- readme
- screenshot

## later
# cache assets
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
package_data={'yhttp.markdown': [
'yhttp/markdown/templates',
'yhttp/markdown/static',
'yhttp/markdown/styles',
'yhttp/markdown/defaultmetadata',
]},
entry_points={
Expand Down

0 comments on commit fe9c6c1

Please sign in to comment.