1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09: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:
Liav A 2023-05-25 22:41:43 +03:00 committed by Andrew Kaster
parent fcc3497803
commit 8073c615af
Notes: sideshowbarker 2024-07-17 10:54:57 +09:00

View file

@ -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 };