profile
viewpoint
Matthew Dapena-Tretter matthewwithanm San Mateo, CA

gilbarbara/react-inlinesvg 892

An SVG loader component for ReactJS

jazzband/django-configurations 752

A helper for organizing Django project settings by relying on well established programming patterns.

matthewwithanm/django-classbasedsettings 53

Class based settings. You couldn't get that from the title?

addisonj/node-cacher 49

Distributed HTTP caching backed by memcached and implemented via middleware

frantic/copy-with-syntax 20

Copy buffer content with syntax highlighting

matthewwithanm/assert-this.js 7

A clear assertion style that uses virtual methods instead of wrappers

matthewwithanm/django 1

The Web framework for perfectionists with deadlines. Now on GitHub.

matthewwithanm/django-appconf 1

An app to handle configuration defaults of packaged Django apps gracefully

lettertwo/as3CompilerErrors-tmplugin 0

A TextMate plugin that checks Actionscript 3 for errors as you write it!

lettertwo/react-replaceables 0

Don't theme your components, replace them!

pull request commentmatthewwithanm/python-markdownify

Fix parsing corrupt html

Another option, if this ends up breaking something, might be to not use a div but some random fake tag.

SimonIT

comment created time in 25 days

pull request commentmatthewwithanm/python-markdownify

Fix parsing corrupt html

Sorry, that commit was seven years ago and I really don't remember 😞 Should've added tests, clearly.

The bs4 docs do say the parser is lenient "As of Python 2.7.3 and 3.2" so I wonder if it was solving an issue with earlier versions?

The comment seems to imply that, at some point, bs4 would return a full HTML document…maybe this was to skip processing body, etc?

SimonIT

comment created time in a month

startedchrismaltby/gb-studio

started time in a month

issue commentmichalkvasnicak/babel-plugin-css-modules-transform

Empty styles

Wow, thanks for the tip @jjuutila!

It seems like this mostly works because the CSS parser is able to handle most SCSS syntax. But those inline comments break it. To correctly support SCSS, it looks like you need to configure a preprocessor:

// ./path/to/module-exporting-a-function.js
var sass = require('node-sass');
var path = require('path');

module.exports = function processSass(data, filename) {
    var result;
    result = sass.renderSync({
        data: data,
        file: filename
    }).css;
    return result.toString('utf8');
};

What a footgun! #104 seems relevant.

kevinehosford

comment created time in a month

pull request commentmatthewwithanm/python-markdownify

Support the start attribute for ordered lists

that makes sense!

SimonIT

comment created time in a month

pull request commentmatthewwithanm/python-markdownify

Support the start attribute for ordered lists

Will markdown actually honor restarted lists? In all the dialects I know (including GitHub's), this:

1. the
2. quick

6. brown
7. fox

will be shown as one list (with the original numbering ignored):

1. the
2. quick
3. brown
4. fox

It seems a little weird to translate the start attribute to markdown that (when rendered) wouldn't actually preserve it anyway.

In other words, I would expect markdown(markdownify(html)) to render the same as html itself.

SimonIT

comment created time in a month

issue commentGoogleChromeLabs/worker-plugin

Plugins used when bundling worker

Thanks for the suggestions, but my actual use case is to use ProvidesPlugin (not DefinePlugin) so I don't think that would work.

matthewwithanm

comment created time in a month

PR opened matthewwithanm/python-markdownify

Reviewers
Create python-publish.yml

Add workflow for publishing to PyPI.

+31 -0

0 comment

1 changed file

pr created time in 2 months

create barnchmatthewwithanm/python-markdownify

branch : python-publish

created branch time in 2 months

pull request commentmatthewwithanm/python-markdownify

remove prefixed and suffixed spaces from inline tags

@AlexVonB thanks! ❤️

AlexVonB

comment created time in 2 months

MemberEvent

pull request commentmatthewwithanm/python-markdownify

remove prefixed and suffixed spaces from inline tags

@AlexVonB let's start with you since you have some open PRs (:

i added you to the repo. let me know your pypi account so i can add you to that.

AlexVonB

comment created time in 2 months

pull request commentmatthewwithanm/python-markdownify

remove prefixed and suffixed spaces from inline tags

@SimonIT sorry, I haven't been writing much Python lately and have been a bad maintainer. @AlexVonB any chance you'd be interested in being added as a maintainer and dealing with these pull requests?

AlexVonB

comment created time in 2 months

more