Skip to content

Releases: mh-cbon/emd

1.0.1

07 Sep 18:00
Compare
Choose a tag to compare
  • templates:
    • choco_bintray/install to show a snippet to install the app from bintray using chocolatey
    • linux/bintray_repo to show a snippet to install the app from bintray apt/dnf repository.

Contributors : mh-cbon

1.0.0

24 Aug 20:23
Compare
Choose a tag to compare
  • toc: fix link generator to remove colon
  • close #26: avoid fatal error when a path is not recognized
  • appveyor: close #28: fix badge urls

Contributors : mh-cbon, solvingJ

0.0.12

10 May 09:33
Compare
Choose a tag to compare
  • cli:

    • ensure data passed on the command line overwrites everthing else, fix #19.
  • dep:

    • fixed glide lock, needed an update.
  • dev:

    • Add provider tests

Contributors

  • mh-cbon

0.0.11

07 May 14:11
Compare
Choose a tag to compare
  • CLI:

    • Fix an issue in argument handling.
  • Path detection: #17

    • The mechanism to detect and extract information from the path,
      is improved to work with anything that matches src/[provider]/[user]/[repo]/[path...]
  • Temaplate func helpers:

    • pkg_doc: won t panic anymore if the default main.go file is not yet created.
  • Temaplates: #16

    • Fix templates output to avoid double /.
  • dev:

    • Largely improved tests.

Contributors : mh-cbon, suntong

0.0.10

06 May 14:56
Compare
Choose a tag to compare
0.0.10 Pre-release
Pre-release
  • CLI:

    • new init command: Writes a basic README.e.md frile to get started
    • gen: removed useless confirmation message on successful operation.
    • stdin: emd can now receives the input template from STDIN.
    • verbosity: Added support for verbosity with env variable VERBOSE=y.
  • Predefined data:

    • New api is introduced to better detect predefined data.
    • ProjectPath is better handled when its a symlink outside of GOPATH (#15 thanks suntong)
  • Prelude data:

    • It is now possible to override predefined data within the prelude.
      This should allow the end user to recover from a buggy implementation in the pre defined variables declaration.
  • TOC:

    • #16 Improve link generator to handle []|',
    • Multiple fixes to properly render the TOC level of each header.
  • Template: added multiple new functions to help to work with templates

    • set(name string, x interface{}): Save given value x as name on dot ..
    • link(url string, text ...string) string: Prints markdown link.
    • img(url string, alt ...string) string: Prints markdown image.
    • concat(x ...string) string: Concat given arguments.
    • pathjoin(x ...string) string: Join given arguments with /.
  • dev:

    • added small test suites into test.sh

Contributors : mh-cbon, suntong

0.0.10-beta

24 Apr 13:11
Compare
Choose a tag to compare
0.0.10-beta Pre-release
Pre-release
  • CLI:
    • new init command: Writes a basic README.e.md frile to get started
    • gen: removed useless confirmation message on successful operation.
  • Predefined data:
    • New api is introduced to better detect predefined data.
  • Prelude data:
    • It is now possible to override predefined data within the prelude.
      This should allow the end user to recover from a buggy implementation in the pre defined variables declaration.
  • TOC:
    • #16 Improve link generator to handle []|',
    • Multiple fixes to properly render the TOC level of each header.
  • Template: added multiple new functions to help to work with templates
    • set(name string, x interface{}): Save given value x as name on dot ..
    • link(url string, text ...string) string: Prints markdown link.
    • img(url string, alt ...string) string: Prints markdown image.
    • concat(x ...string) string: Concat given arguments.
    • pathjoin(x ...string) string: Join given arguments with /.

Contributors : mh-cbon

0.0.9

22 Apr 10:57
Compare
Choose a tag to compare
  • feature #10: Emd file can define a prelude block of yaml data to inject into the template processing.
  • cli fix: Before the -in argument was mandatory. It was not possible to use the default template.
  • feature installer: Fixed apt/rpm repositories.
  • feature #8: ensure an errored command line execution displays correctly.
  • feature: added new template functions
    • yaml(file string, keypaths ...string): parses and build new yaml content of given file.
    • preline(pre , content string): prepends pre for every lines of content.
    • echo(s ...string): echo every string s.
    • read(file string): returns file content.
    • cat(file string): to display the file content.
    • exec(bin string, args ...string): to exec a program.
    • shell(s string): to exec a command line on the underlying shell (it is not cross compatible).
    • color(color string, content string): to embed content in a block code with color.
    • gotest(rpkg string, run string, args ...string): exec go test <rpkg> -v -run <run> <args...>.
    • toc(maximportance string, title string): display a TOC.
  • feature: added new badge templates
    • license/shields: tp show a license badge
    • badge/codeship: tp show a codeship badge
  • deprecation #7: some template functions were deprecated to avoid pre defined formatting,
    old behavior can be reset via new options defined into the prelude data. See also the new color function.
    • file is dprecated for cat
    • cli is dprecated for exec
  • badges fix #14: removed useless whitespace
  • dev: Added support for glide, it was required to handle yaml.
  • dev: updated tests
  • dev: godoc documentation improvements.

Contributors : mh-cbon, suntong

0.0.9-beta9

18 Apr 08:55
Compare
Choose a tag to compare
0.0.9-beta9 Pre-release
Pre-release
  • fix default reading of the md file

Contributors : mh-cbon

0.0.9-beta8

18 Apr 08:51
Compare
Choose a tag to compare
0.0.9-beta8 Pre-release
Pre-release
  • fix #15: properly handle symbolic links
  • fix cli: it was not possible to use the default template

Contributors : mh-cbon

0.0.9-beta7

17 Apr 14:39
Compare
Choose a tag to compare
0.0.9-beta7 Pre-release
Pre-release
  • fix wrong import path

Contributors : mh-cbon