Skip to content

Commit

Permalink
Rework color handling and HTML export. Also drop BBCode support (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser authored Mar 13, 2021
1 parent 922fa8d commit f147536
Show file tree
Hide file tree
Showing 28 changed files with 1,372 additions and 1,385 deletions.
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
github: facelessuser
custom:
- "https://www.paypal.me/facelessuser"
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
tests:

env:
TOXENV: py38
TOXENV: py39

runs-on: ubuntu-latest

Expand All @@ -23,7 +23,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools tox
Expand All @@ -43,11 +43,11 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '10'
node-version: '14'
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools tox
Expand All @@ -69,7 +69,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools tox
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ site/*
build/*
.pytest_cache
.tox/**
.DS_Store
10 changes: 10 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# ExportHtml

## 2.17.0

- **NEW**: Drop BBCode support.
- **NEW**: Use recent Sublime API commands, such as `view.style()` and `view.style_for_scope()` instead of old legacy
method.
- **NEW**: Use `coloraide` dependency for color handling.
- **FIX**: Recent changes should allow `min-contrast` usage in themes to work.
- **FIX**: Recent changes should allow for handling invalid color in color schemes better.
- **FIX**: Recent changes should fix some issues with hashed schemes.

## 2.16.1

- **FIX**: Fix issue with quick start doc not showing images proper.
Expand Down
3 changes: 1 addition & 2 deletions Context.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"caption": "Export",
"children":
[
{ "command": "export_html_panel", "caption": "HTML" },
{"command": "export_bbcode_panel", "caption": "BBCode"}
{ "command": "export_html_panel", "caption": "HTML" }
]
},
{
Expand Down
4 changes: 0 additions & 4 deletions Default.sublime-commands
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
"caption": "Export to HTML: Show Export Menu",
"command": "export_html_panel"
},
{
"caption": "Export to BBCode: Show Export Menu",
"command": "export_bbcode_panel"
},
{
"caption": "Export to HTML: Toggle Annotation Mode",
"command": "toggle_annotation_html_mode"
Expand Down
Loading

0 comments on commit f147536

Please sign in to comment.