Skip to main content

A preprocessor for GitHub README files that allows simple expressions converted into markdown that pops.

Project description

gh-md

A preprocessor for GitHub README files that allows simple expressions converted into markdown that pops.

Examples

Center

<center>
  <h1>My Title</h1>
</center>

Renders as centered content.

Badge

<badge ltext="build" rtext="passing" color="green" />

Creates a shields.io badge. Supports ltext, rtext, style, logo, logoColor, labelColor, color, link, and href attributes.

Font

<font="mono">Monospace Text</font>
<font="double">Wide Text</font>
<font="Funky">Funky Text</font>

Applies ASCII art fonts to text. See gh_md/fonts.py for all available fonts (60+ options).

Projects

<projects user="vercel" limit="3" sort="stars">
  <template>
    {{ project.name }} - ⭐ {{ project.stargazers_count }}
  </template>
</projects>

Fetches your GitHub repositories and renders them using a Jinja2 template. Requires user attribute. Optional: limit (default 3), sort (stars, updated, created).

Stats

<stats user="yourusername" show-icons count-private theme="transparent" hide-border />

Displays GitHub Readme Stats. Supports user, show-icons, count-private, hide-border, layout, base-url, route, and theme attributes.

Devicon

<devicon name="python" height="32" />
<devicon name="react" type="original" height="32" />

Inserts devicon icons. Requires name. Optional: type (original, plain, line), height.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gh_md_action-1.0.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gh_md_action-1.0.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file gh_md_action-1.0.0.tar.gz.

File metadata

  • Download URL: gh_md_action-1.0.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for gh_md_action-1.0.0.tar.gz
Algorithm Hash digest
SHA256 254526e3545d529a24ec2a68e6a7e8be37fb3a111783bdbdefa0cd60d91b02d3
MD5 4fd350aa9e6599d36c6257b1f4da4e45
BLAKE2b-256 6abbca839048b830cc26ad52799c6c0d37f5630c2e962cf9cdc435ba87964dd7

See more details on using hashes here.

File details

Details for the file gh_md_action-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: gh_md_action-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for gh_md_action-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7fdde8f9e80b0e05e5cc91e6297d72ecb4e96c1f8a6077ca48d74d61557ac883
MD5 c4d3b64b49fbb384ac420993d13ef584
BLAKE2b-256 d3ed55c62f48179121c344c21b4f5e52c0567f631f9a4057aeefbe40b29329ea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page