html2md  v1.6.0
Simple and fast HTML to Markdown converter
Loading...
Searching...
No Matches
table.cpp File Reference
#include "table.h"
#include <iomanip>
#include <iostream>
#include <sstream>
#include <vector>
Include dependency graph for table.cpp:

Go to the source code of this file.

Functions

void removeLeadingTrailingSpaces (string &str)
 
string enlargeTableHeaderLine (const string &str, size_t length)
 
string formatMarkdownTable (const string &inputTable)
 

Variables

const size_t MIN_LINE_LENGTH = 3
 

Function Documentation

◆ enlargeTableHeaderLine()

string enlargeTableHeaderLine ( const string & str,
size_t length )

Definition at line 27 of file table.cpp.

◆ formatMarkdownTable()

string formatMarkdownTable ( const string & inputTable)

Definition at line 47 of file table.cpp.

◆ removeLeadingTrailingSpaces()

void removeLeadingTrailingSpaces ( string & str)

Definition at line 16 of file table.cpp.

Variable Documentation

◆ MIN_LINE_LENGTH

const size_t MIN_LINE_LENGTH = 3

Definition at line 14 of file table.cpp.