mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-05 15:27:04 +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:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user