Skip to content

Instantly share code, notes, and snippets.

@matr1xp
Last active October 27, 2025 23:05
Show Gist options
  • Select an option

  • Save matr1xp/33b6186f40e90683f69038f6ad302430 to your computer and use it in GitHub Desktop.

Select an option

Save matr1xp/33b6186f40e90683f69038f6ad302430 to your computer and use it in GitHub Desktop.
Markdrop: bug code blocks not properly displaying linebreaks

Markdrop - Issue when displaying code blocks

Environment Variables

Create a .env file in the root directory:

# Firebase Configuration
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_storage_bucket
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id

Project Structure

my-nextjs-app/
├── app/                    # Next.js 15 App Router pages
├── components/             # React components (40+ folders)
├── utils/                  # Utility functions (AI, Firebase, generators)
├── lib/                    # Server-side libraries
├── context/                # React Context providers
├── hooks/                  # Custom React hooks
├── config/                 # Configuration files
├── data/                   # JSON content files
├── __tests__/             # Test files (Vitest)
├── docs/                   # Documentation (15+ guides)
├── docker/                 # Docker configurations
├── scripts/                # Deployment scripts
└── public/                 # Static assets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment