Code Monkey home page Code Monkey logo

mdformat-frontmatter's Introduction

Hi there!

I'm a Chief Architect at Red Hat working in the Asia Pacific CTO Office.

My background is as an applied researcher who stumbled into the world of software via MATLAB and Fortran. I have a masochistic streak which draws me to problems where business/mission complexity requires innovative solutions. If those solutions have an element of supporting good governance even better!

Today I'm refining my mission at Red Hat. Interesting things I've been working on so far include:

  • GPUaaS infrastructures with partners
  • Digital Sovereignty including modern cloud infrastructure patterns
  • Enabling AI stacks in a variety of circumstances.
  • Security and Compliance in the complexity of the environments above.

If any of this sounds interesting please checkout my blog or reach out via LinkedIn.

mdformat-frontmatter's People

Contributors

butler54 avatar hukkin avatar hukkinj1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

hukkin srmamit y0z

mdformat-frontmatter's Issues

Improve test coverage

Testing behaviour to date is woeful. Improve various test conditions that may occur.

Setup semantic release

Current process automates deployment on tagging, however, relies on the developer manually updating the version tag. Convert / update build process to allow automated semantic releases.

Can you avoid the `ruamel-yaml` dependency?

This dependency is highly idiosyncratic. It still uses setup.py and seems to generate one, indeed. It also generates source code within a Dockerfile. It uses custom C source code. The sole maintainer hosts its source code on SourceForge, an outdated platform. He categorizes these packages on PyPI as beta quality.

Can you not use the more popular PyYAML?

Change in behavior of mdformat-frontmatter output

We use mdformat to format markdowns. For automation and validation, the markdowns have yaml header with metadata about the document.
We use pre-commit hook to invoke mdformat and mdformat-frontmatter plugin so that the yaml can be ignored.
pre-commit version 2.17.0
mdformat version: 0.7.13

- repo: https://github.com/executablebooks/mdformat
    rev: 0.7.13 # Do not change version. 0.6.0 introduces breaking changes.
    hooks:
    - id: mdformat
      exclude: "CHANGELOG.md|docs/mkdocs_code_of_conduct.md|docs/api_reference"
      additional_dependencies:
      - mdformat-tables
      - mdformat-config
      - mdformat-frontmatter
      - mdformat-gfm

Notice that mdformat-frontmatter is formatting data in the header and inserting new lines.
example changes:

source-location: https://github.com/master/procedures/test-n/test-n.md

to

source-location: 
  https://github.com/master/procedures/test-n/test-n.md

Expected behavior:
The new lines should not be added and yaml header should not be formatted at all.

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.