mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00

Thanks to [marked JavaScript library](https://github.com/chjj/marked) by Christopher Jeffrey. The [style sheet](http://kevinburke.bitbucket.org/markdowncss/markdown.css) was created by Kevin Burke. Signed-off-by: Le Tan <tamlokveer@gmail.com>
17 lines
319 B
C++
17 lines
319 B
C++
#ifndef VPREVIEWPAGE_H
|
|
#define VPREVIEWPAGE_H
|
|
|
|
#include <QWebEnginePage>
|
|
|
|
class VPreviewPage : public QWebEnginePage
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit VPreviewPage(QWidget *parent = 0);
|
|
|
|
protected:
|
|
bool acceptNavigationRequest(const QUrl &url, NavigationType type, bool isMainFrame);
|
|
};
|
|
|
|
#endif // VPREVIEWPAGE_H
|