src/Classes/Markdown.php
public function markdownMenu($dir = null)
    {

        $md_files = $this->markdownFiles($dir);
        $links = [];

        foreach ($md_files as $file) {
            $links[] = $this->markdownLink($file, $this->type);
        }
        return $links;

    }
public function markdownMenu($dir = null)
    {

        $md_files = $this->markdownFiles($dir);
        $links = [];

        foreach ($md_files as $file) {
            $links[] = $this->markdownLink($file, $this->type);
        }
        return $links;

    }
public function markdownMenu ( $ dir = null ) { $ md_files = $ this -> markdownFiles ( $ dir ) ; $ links = [ ] ; foreach ( $ md_files as $ file ) { $ links [ ] = $ this -> markdownLink ( $ file , $ this -> type ) ; } return $ links ; }
Returns an list or directory of array of markdown files

@param  string $dir file dir
@return array
Returns an list or directory of array of markdown files