Files
Flobidian/md_viewer/__init__.py
T
nahakubuilde 3e4355d20d Fix issue with picture upload and rendering based on 4 modes how Obsidian can store images.
Add there option to view other files and uplod/download files from main view
2025-06-28 12:41:34 +01:00

20 lines
634 B
Python

from flask import Blueprint
import logging
# Create the main blueprint for markdown viewer
md_viewer_bp = Blueprint('md_viewer', __name__,
template_folder='templates',
static_folder='static',
static_url_path='/md_viewer/static')
# Setup logger
logger = logging.getLogger(__name__)
# Import all routes
from . import viewer # Has the main viewing routes (/, /note, /folder)
from . import editor # Has the edit/create/delete routes
from . import settings_page # Has the settings routes
from . import support_functions # Contains utility functions used across the app