https://github.com/kanghyojun/linky
Change plain text into HTML has <a> tag.
https://github.com/kanghyojun/linky
Last synced: 22 days ago
JSON representation
Change plain text into HTML has <a> tag.
- Host: GitHub
- URL: https://github.com/kanghyojun/linky
- Owner: kanghyojun
- License: mit
- Created: 2016-11-21T09:13:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-22T04:46:17.000Z (over 9 years ago)
- Last Synced: 2026-06-03T09:15:16.612Z (about 2 months ago)
- Language: Python
- Homepage: https://pypi.python.org/pypi/linkfy
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
linky
-----
Change plain text into HTML has ```` tag.
Getting started
===============
Call ``linky.linky``.
.. code-block:: python
from linky import linky
linky('Serching on https://google.com') # Serching on https://google.com
Usually thease function is used on Jinja_, so it provide options to
escape some HTML special characters like ``<``, ``>``.
.. code-block:: python
from linky import linky
linky('Serching < on https://google.com') # Serching < on https://google.com
.. _Jinja: http://jinja.pocoo.org/