
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
28 lines
601 B
C++
28 lines
601 B
C++
/*
|
|
* Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/OwnPtr.h>
|
|
#include <AK/StringView.h>
|
|
#include <AK/Vector.h>
|
|
#include <LibMarkdown/Block.h>
|
|
|
|
namespace Markdown {
|
|
|
|
class HorizontalRule final : public Block {
|
|
public:
|
|
HorizontalRule()
|
|
{
|
|
}
|
|
virtual ~HorizontalRule() override { }
|
|
|
|
virtual String render_to_html() const override;
|
|
virtual String render_for_terminal(size_t view_width = 0) const override;
|
|
static OwnPtr<HorizontalRule> parse(Vector<StringView>::ConstIterator& lines);
|
|
};
|
|
|
|
}
|