cristoffel
bb5eb5445e
use flit packaging tool, write simple test
2023-11-06 18:58:32 +01:00
Benedikt Willi
79c7c2f060
Use f-strings, add missing classes.
2023-08-08 15:58:56 +02:00
Benedikt Willi
745056d5e6
Update extension.py
2022-08-16 08:19:59 +02:00
Benedikt Willi
0e3bf49c86
Update inlinepatterns.py
2022-08-16 08:18:53 +02:00
Benedikt Willi
477d04541c
Update inlinepatterns.py
2022-08-15 17:18:39 +02:00
Benedikt Willi
d216b6eb68
Update inlinepatterns.py
2022-08-15 16:41:35 +02:00
Benedikt Willi
e5d64d6853
Update inlinepatterns.py
2022-08-15 16:21:34 +02:00
W.A.Flozart
cb46ae8f8a
Merge pull request #3 from Hopiu/patch-3
...
Update extension.py
2022-08-08 13:19:31 +02:00
Benedikt Willi
a665517a5d
Update extension.py
2022-08-08 13:18:50 +02:00
W.A.Flozart
ffbac50ce0
Merge pull request #2 from Hopiu/patch-2
...
Update extension.py
2022-08-08 11:37:11 +02:00
Benedikt Willi
cdc3a41260
Update extension.py
2022-08-08 11:33:25 +02:00
W.A.Flozart
7fb4cb2aa1
Update endpoints.py
2022-08-02 14:13:40 +02:00
W.A.Flozart
5d6b341f8a
Update endpoints.py
2021-12-08 15:07:57 +01:00
W.A.Flozart
d510e7f081
Merge pull request #1 from Hopiu/master
...
Thanks for the fix, Hopi!
Merging fists into inlinepatterns.py
2020-04-07 14:43:20 +02:00
Benedikt Willi
c1088492e0
Update inlinepatterns.py
2020-04-07 14:37:38 +02:00
Floroni
8768a5a546
removed True argument from store() as it raised a 3 arguments given error
2019-03-06 12:22:20 +01:00
Tanner Netterville
81a8378564
version bump for 0.2.1 and wheel setup
2016-04-22 00:17:51 -05:00
Tanner Netterville
8d8dd3d21b
Merge branch 'anantshri-patch-1'
2016-04-22 00:15:56 -05:00
Anant Shrivastava
78645522ee
Slideshare test case
2016-04-14 14:35:22 +05:30
Anant Shrivastava
d2d5632f4f
Update endpoints.py
2016-04-14 08:53:55 +05:30
Anant Shrivastava
9e11630327
Adding slideshare as a oembed provider
...
Adding slideshare as a oembed provider
2016-04-14 08:46:26 +05:30
Tanner Netterville
029e1cd4f2
Merge pull request #5 from rennat/0.2.0
...
0.2.0
2016-02-16 05:08:49 -06:00
Tanner Netterville
87bbf8fc90
Release 0.2.0
...
- Merged improvements from Wenzil's fork. Thanks Wenzil!
- Update for new version of Markdown breaks backwards compatability.
- Dropped test support for Python 2.6
- Fixed test suite (including Travis CI config)
2016-02-16 05:04:24 -06:00
Tanner Netterville
7d5a0ef503
Merge remote-tracking branch 'wenzil/master' into 0.2.0
2016-02-16 05:02:02 -06:00
Tanner Netterville
784a7a0189
update setup.py test requirements
2015-04-21 13:03:05 -05:00
Tanner Netterville
12515f4907
Add Travis CI config
2015-04-21 12:32:52 -05:00
Sami Turcotte
95d2797cfa
Fix syntax error
2015-04-21 05:23:39 -04:00
Sami Turcotte
d8b37231ac
Version bump
2015-04-21 05:19:19 -04:00
Sami Turcotte
e2e29489d7
Allow arbitrary oEmbed endpoints
...
Before this change, only three hardcoded oEmbed endpoints were available
for users of the extension; youtube, flickr and vimeo. In the
configuration, it was only possible to pass a subset of those 3 oEmbed
endpoints. It was done by passing the names of the allowed endpoints.
With this change, the API has changed. The allowed_endpoints kwarg now
expects to be passed a list of OEmbedEndpoint objects (as opposed to
names). This means the responsibility of creating OEmbedEndpoint objects
has been shifted to the user of the extension. If the allowed_endpoints
kwarg is omitted, the default oEmbed endpoints used will be the same as
before; youtube, flickr and vimeo.
The motivation is to allow arbitrary oEmbed endpoints, without
necessitating anyone to maintain the list of all possible oEmbed
endpoints out there.
2015-04-21 05:18:42 -04:00
Sami Turcotte
350d90b6b9
Version bump
2015-04-20 00:44:21 -04:00
Sami Turcotte
639d4a6dec
Change div wrapper to a figure wrapper
...
The reasoning is that the translation of Markdown into HTML should be as
concise as possible. The semantics of the figure element seem to fit the
embedded nature of OEmbed content moreso than the div element which is
quite generic.
2015-04-20 00:42:50 -04:00
Sami Turcotte
0e3aaac58c
version bump
2015-04-04 03:34:33 -04:00
Sami Turcotte
f3f09aae98
Wrap oEmbed html output in a div
...
To keep a constant aspect ratio for the resulting iframe of an oEmbed
request in a responsive website, the iframe needs a div wrapper. With
this change, html results are wrapped in a "oembed" class div.
2015-04-04 03:33:33 -04:00
Sami Turcotte
7f12354970
Version bump
2015-04-03 01:51:34 -04:00
Sami Turcotte
3adab335ec
Add support for python-markdown safe mode
...
Mark the resulting OEmbed html tags as safe so they don't get stripped
away in safe mode.
2015-04-03 01:22:11 -04:00
Sami Turcotte
4a7f2a4d46
Version bump
2015-04-02 03:48:18 -04:00
Sami Turcotte
c3a4466eca
Reconcile with Markdown 2.6
...
Updated the initialization of OEmbedExtension to be compatible with
Markdown 2.6. See https://pythonhosted.org/Markdown/release-2.6.html
2015-04-02 03:47:33 -04:00
J. Tanner Netterville
469e696a95
remove silly import from setup.py
2014-07-23 16:02:57 -05:00
J. Tanner Netterville
001db644a5
minor update version and setup.py
2014-07-22 17:20:21 -05:00
J. Tanner Netterville
1a7c62fb93
Fixing tests, still needs work on auto protocol
2014-07-22 17:12:30 -05:00
J. Tanner Netterville
3b29ca3252
version bump
2014-07-22 16:00:58 -05:00
J. Tanner Netterville
8da615da30
Merge branch 'master' of github.com:rennat/python-markdown-oembed
2014-07-22 15:55:00 -05:00
Tanner Netterville
d9ce404446
Merge pull request #1 from JordanReiter/patch-1
...
Update endpoints.py
2014-07-22 15:53:46 -05:00
Jordan Reiter
4b05b076be
Update endpoints.py
...
Many websites are using https, often by default. This allows https links to be recognized as well.
2014-07-14 15:44:36 -04:00
J. Tanner Netterville
0b2b234fb5
updated tests
2013-10-21 17:37:56 -05:00
J. Tanner Netterville
632279ec9f
bump version
2012-11-14 14:05:40 -06:00
J. Tanner Netterville
798c9850e6
improve portability
2012-11-14 12:15:41 -06:00
J. Tanner Netterville
2f56c1c11a
allow configuring which endpoints to allow
2012-11-13 17:28:04 -06:00
J. Tanner Netterville
685bfd4ba7
added license and manifest template, bumped alpha version
2012-11-13 16:55:47 -06:00
J. Tanner Netterville
d9543dbffb
remove long description from setup file
2012-11-13 16:35:53 -06:00