Skip to content

About

Pelican plugin to insert links in articles by specifying keywords instead of URLs

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Pelican Smart Links

A plugin for Pelican. It allows to insert links in posts/pages without specifying their full URLs. Instead, specify keywords in the href bit.

For example, supposing the site has an article with slug tutorials-punctuation-commas, repeteadly containing the words commas and tutorial, the link in the following sentence

My three favorite things are eating my family and not using [commas](commas tutorial).

gets rewritten in the Pelican HTML output to

My three favorite things are eating my family and not using <a href="/tutorials-punctuation-commas">commas</a>.

The plugin leaves the source untouched, but can optionally edit the markdown source if SMART_LINKS_REWRITE_MD is set to True in settings.

About

Pelican plugin to insert links in articles by specifying keywords instead of URLs

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages