caronc / apprise

Apprise - Push Notifications that work with just about every platform!
https://hub.docker.com/r/caronc/apprise
BSD 2-Clause "Simplified" License
10.91k stars 384 forks source link

Improved markdown to html conversions #1089

Closed caronc closed 3 months ago

caronc commented 3 months ago

Description:

Related issue (if applicable): #1084

Better MARKDOWN to HTML Conversion

Checklist

Testing

Anyone can help test this source code as follows:

# Create a virtual environment to work in as follows:
python3 -m venv apprise

# Change into our new directory
cd apprise

# Activate our virtual environment
source bin/activate

# Install the branch
pip install git+https://github.com/caronc/apprise.git@1084-email-markdown-formatting

cat << _EOF > test_markdown
## Some Heading

With Data:

- Foo
- Bar

## Table Support Added Too

First Header  | Second Header
------------- | -------------
Content Cell  | Content Cell
Content Cell  | Content Cell
_EOF

# Test out the changes with the following command:
apprise -vvv -t "Test Title" -b "$(<test_markdown)" \
    -i markdown \
    "mailtos://credentials"
codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.27%. Comparing base (2c5341a) to head (06eca3e).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1089 +/- ## ======================================= Coverage 99.27% 99.27% ======================================= Files 137 137 Lines 17901 17901 Branches 3657 3657 ======================================= Hits 17771 17771 Misses 121 121 Partials 9 9 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.