feat: Add Markdown View Plugin with React and Chakra UI
- Implemented main application structure with App and View components. - Integrated React Markdown for rendering Markdown content. - Added API function to fetch Markdown content from the backend. - Created a custom Chakra UI theme to align with Airflow's design. - Configured Vite for building the application with appropriate asset paths. - Included a sample Markdown file for initial content display. - Set up TypeScript configuration for better development experience.
This commit is contained in:
18
markdown_view_plugin/view.md
Normal file
18
markdown_view_plugin/view.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# Welcome to Markdown View Plugin!
|
||||
|
||||
This is a sample `view.md` file.
|
||||
|
||||
You can write **Markdown** here, and it will be rendered in the Airflow UI.
|
||||
|
||||
## Features
|
||||
* Supports standard Markdown syntax.
|
||||
* Styled with Airflow's theme (hopefully!).
|
||||
|
||||
### Example List
|
||||
1. First item
|
||||
2. Second item
|
||||
3. Third item
|
||||
|
||||
---
|
||||
|
||||
Edit this file to change the content of your view.
|
||||
Reference in New Issue
Block a user