diff --git a/CHANGES.rst b/CHANGES.rst
index 2935888..3cac1e8 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -7,6 +7,11 @@ Change History
 Production
 **********
 
+:2020.0.2: *2019.07-30* - bug fix
+
+    * `#33 <https://github.com/prjemian/pyRestTable/issues/33>`_
+      not really a bug -- add side pipes to markdown table
+
 :2020.0.1: *2019.07-23* - bug fix
 
     * `#31 <https://github.com/prjemian/pyRestTable/issues/31>`_
diff --git a/src/pyRestTable/rest_table.py b/src/pyRestTable/rest_table.py
index 316996d..afa29a6 100644
--- a/src/pyRestTable/rest_table.py
+++ b/src/pyRestTable/rest_table.py
@@ -264,8 +264,8 @@ class Table(object):
         # build the row separators
         # maximum column widths, considering possible line breaks in each cell
         width = [max(w,3) for w in self.find_widths()]
-        separator = " | ".join(['-'*w for w in width]) + '\n'
-        fmt = " | ".join(["%%-%ds" % w for w in width]) + '\n'
+        separator = "| " +" | ".join(['-'*w for w in width]) + ' |\n'
+        fmt = "| " + " | ".join(["%%-%ds" % w for w in width]) + ' |\n'
         
         md = ''
         md += self._row(self.labels, fmt, indentation) # labels
diff --git a/versioneer.py b/versioneer.py
index 511ecc1..bd8b5b3 100644
--- a/versioneer.py
+++ b/versioneer.py
@@ -1598,7 +1598,7 @@ def get_cmdclass():
             from py2exe.build_exe import py2exe as _py2exe  # py2
 
         class cmd_py2exe(_py2exe):
-            def run(self):
+            def run(self):          # lgtm [py/similar-function] 
                 root = get_root()
                 cfg = get_config_from_root(root)
                 versions = get_versions()

markdown table could have side bars
> The outer pipes (|) are optional
(https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet)

but it is a great idea to add them for those MD tools that want them.
diff --git a/tests/test_results.py b/tests/test_results.py
index 06257ee..df02412 100644
--- a/tests/test_results.py
+++ b/tests/test_results.py
@@ -70,9 +70,9 @@ MINIMAL_GRID_RESULT = '''\
 '''
 
 MINIMAL_MARKDOWN_RESULT = '''\
-x   | y  
---- | ---
-1   | 2  
+| x   | y   |
+| --- | --- |
+| 1   | 2   |
 '''
 
 MINIMAL_LISTTABLE_RESULT = '''\
@@ -136,12 +136,12 @@ one two three
 | 4,1 | 4,2 | 4,3   |
 +-----+-----+-------+
 
-one | two | three
---- | --- | -----
-1,1 | 1,2 | 1,3  
-2,1 | 2,2 | 2,3  
-3,1 | 3,2 | 3,3  
-4,1 | 4,2 | 4,3  
+| one | two | three |
+| --- | --- | ----- |
+| 1,1 | 1,2 | 1,3   |
+| 2,1 | 2,2 | 2,3   |
+| 3,1 | 3,2 | 3,3   |
+| 4,1 | 4,2 | 4,3   |
 
 .. list-table:: 
    :header-rows: 1

pip install -e .
parse_log_pytest
requirements.txt
pytest
3.7
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
certifi @ file:///croot/certifi_1671487769961/work/certifi
charset-normalizer==3.4.1
coverage==6.5.0
coveralls==3.3.1
docopt==0.6.2
exceptiongroup==1.2.2
idna==3.10
importlib-metadata==6.7.0
iniconfig==2.0.0
lxml==5.3.1
packaging==24.0
pluggy==1.2.0
-e git+https://github.com/prjemian/pyRestTable.git@3a38b6eb9edaac640ef2d51db8f58f804a4c4a0d#egg=pyRestTable
pytest==7.4.4
requests==2.31.0
tomli==2.0.1
typing_extensions==4.7.1
urllib3==2.0.7
zipp==3.15.0

name: pyRestTable
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2022.12.7=py37h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=22.3.1=py37h06a4308_0
  - python=3.7.16=h7a1cb2a_0
  - readline=8.2=h5eee18b_0
  - setuptools=65.6.3=py37h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.38.4=py37h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - charset-normalizer==3.4.1
      - coverage==6.5.0
      - coveralls==3.3.1
      - docopt==0.6.2
      - exceptiongroup==1.2.2
      - idna==3.10
      - importlib-metadata==6.7.0
      - iniconfig==2.0.0
      - lxml==5.3.1
      - packaging==24.0
      - pluggy==1.2.0
      - pytest==7.4.4
      - requests==2.31.0
      - tomli==2.0.1
      - typing-extensions==4.7.1
      - urllib3==2.0.7
      - zipp==3.15.0
prefix: /opt/conda/envs/pyRestTable

tests/test_results.py::Test_pyRestTable::test_example_basic tests/test_results.py::Test_pyRestTable::test_example_minimal tests/test_results.py::Test_pyRestTable::test_markdown_grid
tests/test_results.py::Test_pyRestTable::test_cansas tests/test_results.py::Test_pyRestTable::test_default_str tests/test_results.py::Test_pyRestTable::test_example_complicated tests/test_results.py::Test_pyRestTable::test_grid tests/test_results.py::Test_pyRestTable::test_minimal_complex tests/test_results.py::Test_pyRestTable::test_minimal_grid tests/test_results.py::Test_pyRestTable::test_minimal_htmltable tests/test_results.py::Test_pyRestTable::test_minimal_listtable tests/test_results.py::Test_pyRestTable::test_minimal_simple tests/test_results.py::Test_pyRestTable::test_num_col_labels_different_from_col_width_specifiers tests/test_results.py::Test_pyRestTable::test_plain tests/test_results.py::Test_pyRestTable::test_simple tests/test_results.py::Test_pyRestTable::test_zero_columns tests/test_results.py::Test_pyRestTable::test_zero_width_column tests/test_results.py::Test_column_widths::test_issue_31
src/pyRestTable/rest_table.py CHANGES.rst versioneer.py
src/pyRestTable/rest_table.py CHANGES.rst versioneer.py