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:
parent
fcc3497803
commit
8073c615af
Notes:
sideshowbarker
2024-07-17 10:54:57 +09:00
Author: https://github.com/supercomputer7
Commit: 8073c615af
Pull-request: https://github.com/SerenityOS/serenity/pull/18944
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/gmta
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
Reviewed-by: https://github.com/linusg
Reviewed-by: https://github.com/timschumi
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