mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02: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:
Notes:
sideshowbarker
2024-07-17 10:54:57 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/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
@@ -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