RunicVTT Open Source Virtual Tabletop for TTRPG using P2P
Loading...
Searching...
No Matches
NotesManager.cpp File Reference
#include "NotesManager.h"
#include "ImGuiToaster.h"
#include <fstream>
#include <sstream>
#include <random>
#include <iomanip>
#include <algorithm>
#include <cctype>
Include dependency graph for NotesManager.cpp:

Go to the source code of this file.

Typedefs

using Clock = std::chrono::system_clock
 

Functions

static bool isMarkdownExt (const std::filesystem::path &p)
 

Typedef Documentation

◆ Clock

using Clock = std::chrono::system_clock

Definition at line 11 of file NotesManager.cpp.

Function Documentation

◆ isMarkdownExt()

static bool isMarkdownExt ( const std::filesystem::path & p)
static

Definition at line 13 of file NotesManager.cpp.

14{
15 auto ext = p.extension().string();
16 std::transform(ext.begin(), ext.end(), ext.begin(), ::tolower);
17 return (ext == ".md" || ext == ".markdown");
18}
Here is the caller graph for this function: