mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
4931385777
Summary: Adds support for Markdown documents BUG: 360603 Test Plan: Open a Markdown (.md) document in Okular Reviewers: #okular, aacid Reviewed By: #okular, aacid Subscribers: michaelweghorn, aacid Tags: #okular Differential Revision: https://phabricator.kde.org/D7382
27 lines
1 KiB
C++
27 lines
1 KiB
C++
/***************************************************************************
|
|
* Copyright (C) 2017 by Julian Wolff <wolff@julianwolff.de> *
|
|
* *
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
* it under the terms of the GNU General Public License as published by *
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
* (at your option) any later version. *
|
|
***************************************************************************/
|
|
|
|
#ifndef _OKULAR_GENERATOR_MD_H_
|
|
#define _OKULAR_GENERATOR_MD_H_
|
|
|
|
#include <core/textdocumentgenerator.h>
|
|
|
|
class MarkdownGenerator : public Okular::TextDocumentGenerator
|
|
{
|
|
Q_OBJECT
|
|
Q_INTERFACES( Okular::Generator )
|
|
|
|
public:
|
|
MarkdownGenerator( QObject *parent, const QVariantList &args );
|
|
|
|
// [INHERITED] reparse configuration
|
|
void addPages( KConfigDialog* dlg ) override;
|
|
};
|
|
|
|
#endif
|