Git Product home page Git Product logo

go-testmark's People

Contributors

mvdan avatar tripledogdare avatar warpfork avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

tripledogdare

go-testmark's Issues

Hunk.BlockTag should be called InfoString

Apparently, the text after the characters indicating the start of a code block are called the "info string": https://spec.commonmark.org/0.30/#info-string

Currently the go-testmark code called it "BlockTag":

go-testmark/testmark.go

Lines 49 to 51 in 53baa42

// The code block syntax hint (or more literally: anything that comes after the triple-tick that starts the code block).
// Usually we don't encourage use of this much in testmark, but it's here. Can be empty.
BlockTag string

I like my name better, of course (I'm pretty sure someone would know what you mean faster when you say "the code block tag" than "the info string" until you bang them over the head with the spec link), but, ah well. It was a quick choice made without research.

Might as well follow the upstream lexicon as long as there is indeed a clear name specified for it.

started python-testmark

Hi there. I was inspired by a talk in GPN so I took this as an exercise. I'm relatively new to (colaborative) software writing, so I didn't know how to do a pull request or how that works. Also there is two important things missing in python-testmark: some testing (ironically) and building it into a package. I will do this the next days (still learning) but for now I am happy to have you people have a quick look if I overlooked something. I'm somewhat baffled that this only took 40 lines of code.

Greetings
https://github.com/iameru/python-testmark

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.