GithubHelp home page GithubHelp logo

blog.minchin.ca's People

Contributors

dependabot[bot] avatar minchinweb avatar pyup-bot avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

blog.minchin.ca's Issues

Summary Image

Provide a small picture to go with the summary text.

Comments

import comments from Blogger and provide a way to add comments here

Page Numbering

An idea to lean heavily into a book metaphor, and add page numbers through the site.

Page numbers would penalty have to be provided by a (Pelican) plugin, and then the theme modified to display them.

I haven't decided whether long blog posts should be considered a single page, or to somehow indicate page breaks mid-article; the latter would definitely be more in keeping with the metaphor.

Initial Update

Hi ๐Ÿ‘Š

This is my first visit to this fine repo, but it seems you have been working hard to keep all dependencies updated so far.

Once you have closed this issue, I'll create seperate pull requests for every update as soon as I find one.

That's it for now!

Happy merging! ๐Ÿค–

Move to CommonMark

I've been thinking for a while that I would like to move to a CommonMark Markdown parser. The goal would be to have consistence performance, backed by a spec that has worked through many of the edge cases. As well, the hope is to make it easier to move Markdown content between applications (like to/from Obsidian).

Also, Pelican has taken to installing a CommonMark parser (markdown-it-py) as a sub-dependency of rich, which Pelican has taken to using as a CLI output library. So we already have the parser installed!

One complication is that the original Python commonmark.py parser (available on PyPI as commonmark) has been deprecated in favour of markdown-it-py (available as markdown-it-py[plugins]).

Markdown-it-py does support plugins. This is another complication in that I use several Markdown plugins currently, and not entirely standard Markdown as is.

Another issue is how to deal with front matter; I think Pelican is using it's own standard.

Available, existing Pelican Plugins:

  • Markdown-IT reader -- actually supports Markdown-it. Available on PyPI. Last updated Dec 2021. Bundles and auto-activates a few plugins
  • Pelican FrontMark -- relies on the commonmark package. Available on PyPI. Last updated in Dec 2022.
    • has an open issue about dealing with dates, as expected by Pelican\
    • has an (unsubmitted) PR to allow using the MARKDOWN setting. c.f. Issue #3
  • pelican_commonmark plugin -- relies on the commonmark package. Intended to be available as part of the pelican-plugins repo, but never went beyond PR from 2015.
  • CommonMark for Pelican -- relies on the commonmark package. Available on PyPI. Last updated Jan 2022. I actually have an open issue (from 2016!) here due to the commonmark package changing their API, and this never got updated to match.
  • pelican-gfm plugin -- actually implementing GitHub Flavoured Markdown. Never progressed past a PR for 2019.

There doesn't appear to be anything in the pelican-plugins organization.

c.f. getpelican/pelican#2984

Generate Feeds

Turns out the RSS feeds haven't been updated in the last 4 years... oops!

Resize article images

The in-body article images should be resized, so smaller image files can be served, rather than the large, original files.

Add microblogging ability

Add the ability to "microblog".

Microblogging is generally considered to be blog posts, but very short in length.

The most common example is Twitter, with an original limit of 140 characters (to be less than the SMS max of 160 characters). Twitter has since doubled their limit to 280 characters. The default on Mastedon is 500 characters, the same as (newly released) Threads.

(Note that on Twitter, all links are run through a shortener and so are 23 characters long.)

Micro blog posts don't typically have titles, so the theme layout, slug generation, and RSS feed generation may all have to be alerted to deal with that. (On Pelican, all slugs must be unique.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.