mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:28:11 +00:00
LibMarkdown: Add method to get access to Table columns
This will be used later when parsing the AvailablePorts.md file in the upcoming package manager application.
This commit is contained in:
parent
fcc3497803
commit
8073c615af
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,8 @@ public:
|
|||
virtual RecursionDecision walk(Visitor&) const override;
|
||||
static OwnPtr<Table> parse(LineIterator& lines);
|
||||
|
||||
Vector<Column> const& columns() const { return m_columns; }
|
||||
|
||||
private:
|
||||
Vector<Column> m_columns;
|
||||
size_t m_total_width { 1 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue