Cloud-Awesome / markdown-maker

Lightweight library to assist creation of .md files (in GitHub and/or DocFX flavours)
MIT License
0 stars 0 forks source link

Override methods which take an MdPlainText input to only provide a string #3

Closed Cloud-Awesome closed 3 years ago

Cloud-Awesome commented 3 years ago

Started implementing during test refactoring, but most of the methods take this as an input.

e.g.

var table = new MdTable()
  .AddColumn("First Column")
  .AddColumn("Second Column")
  .AddColumn("Third Column");

instead of

var table = new MdTable()
  .AddColumn(new MdPlainText("First Column"))
  .AddColumn(new MdPlainText("Second Column"))
  .AddColumn(new MdPlainText("Third Column"));

Keep the original for backwards compatibility though

Cloud-Awesome commented 3 years ago

Required/Outstanding for following methods:

During this, perhaps review: