Enhance blog features and improve backend functionality
- Added a VS Code-style editor with YAML frontmatter support and live preview. - Implemented force reparse functionality for immediate updates of posts. - Improved directory scanning with error handling and automatic directory creation. - Introduced new CLI commands for cache management: `reinterpret-all` and `reparse-post`. - Enhanced logging for better debugging and monitoring of the Rust backend. - Updated README to reflect new features and improvements.
This commit is contained in:
@@ -11,7 +11,7 @@ export const dynamic = "force-dynamic";
|
||||
*
|
||||
* If any Issues about "Window" (For Monaco) pop up. Its not my fucking fault
|
||||
*
|
||||
* Push later when on local Network. (//5jul25)
|
||||
* Push later when on local Network. (//5jul25) ## Already done
|
||||
**********************************************/
|
||||
|
||||
import { useState, useEffect, useCallback, useRef } from 'react';
|
||||
@@ -904,7 +904,7 @@ export default function AdminPage() {
|
||||
<a
|
||||
href="/admin/editor"
|
||||
className="w-full sm:w-auto px-4 py-3 sm:py-2 bg-gradient-to-r from-gray-700 to-blue-700 text-white rounded-xl shadow-lg flex items-center justify-center gap-2 text-sm sm:text-base font-semibold hover:from-gray-800 hover:to-blue-800 transition-all focus:outline-none focus:ring-2 focus:ring-blue-400"
|
||||
title="Markdown Editor (VS Code Style)"
|
||||
title="Markdown Bearbeiter"
|
||||
style={{ minWidth: '160px' }}
|
||||
>
|
||||
{/* VS Code SVG Icon */}
|
||||
@@ -950,8 +950,8 @@ export default function AdminPage() {
|
||||
</defs>
|
||||
</svg>
|
||||
<span className="flex flex-col items-start">
|
||||
<span>Editor</span>
|
||||
<span className="text-xs font-normal text-blue-100">VS Code</span>
|
||||
<span>Markdown Editor</span>
|
||||
<span className="text-xs font-normal text-blue-100">Visual Studio Code</span>
|
||||
</span>
|
||||
</a>
|
||||
{rememberExportChoice && lastExportChoice && (
|
||||
|
||||
Reference in New Issue
Block a user