No commit activity in last 3 years
No release in over 3 years
Formats Markdown Table files for other file output plugins.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.10.6
>= 0.8.3
>= 10.0
 Project Readme

Markdown Table formatter plugin for Embulk

This plugin is Markdown Table formatter for Embulk.

Overview

  • Plugin type: formatter

Configuration

  • encoding: output encoding. (string, default: "UTF-8")
  • newline: newline character. (string, default: "LF")
    • CRLF: use \r(0x0d) and \n(0x0a) as newline character
    • LF: use \n(0x0a) as newline character
    • CR: use \r(0x0d) as newline character
    • NUL: use \0(0x00) instead of newline

Example

input

id,account,time,purchase,comment
1,32864,2015-01-27 19:23:49,20150127,embulk
2,14824,2015-01-27 19:01:23,20150127,embulk jruby
3,27559,2015-01-28 02:20:02,20150128,"Embulk ""csv"" parser plugin"
4,11270,2015-01-29 11:54:36,20150129,NULL

config

out:
  type: markdown_table
  formatter:
    type: markdown_table
    encoding: UTF-8 # optional
    newline: LF # optional

output

|id|account|time|purchase|comment|
|---|---|---|---|---|
|1|32864|2015-01-27 19:23:49 UTC|2015-01-27 00:00:00 UTC|embulk|
|2|14824|2015-01-27 19:01:23 UTC|2015-01-27 00:00:00 UTC|embulk jruby|
|3|27559|2015-01-28 02:20:02 UTC|2015-01-28 00:00:00 UTC|Embulk "csv" parser plugin|
|4|11270|2015-01-29 11:54:36 UTC|2015-01-29 00:00:00 UTC|NULL|

Build

$ rake