Introduction We have all started a side project with enthusiasm and then abandoned it in the repository graveyard, without touching it for months. This time I decided to break the cycle and create a tool that solved real problems I faced every day as a developer.
The problem My workflow included generating text with language models that arrived as a disaster without structure. The most frustrating thing was not just the format but the lack of control in every subsequent step. Inflexible previews with Arabic text and insufficient RTL support, fixed styles that prevent changing font size or typography for presentations, and tedious manual formatting for headings, lists, and code blocks.
The solution I built Smart Markdown Pro, a local-first markdown editor powered by AI and developed with Next.js App Router, Tailwind CSS, and TypeScript. It is open source and was born as the tool I always wanted to have.
Total preview customization The core of the idea was a preview panel that adapts to your needs. You can toggle between RTL and LTR instantly, adjust the base font size with a slider, and apply any Google Font by adding its reference. The app remembers the fonts used for quick access, improving usability for multilingual documents and presentations.
AI-powered formatting To convert unstructured text into clean markdown, I integrated the OpenAI API and created a Format with AI button that transforms the content into well-structured GFM. The backend securely manages the key and prompt with an API route in Next.js, making it easy to have an integrated intelligent formatting assistant.
Local file management I avoided creating unnecessary accounts by using Zustand with localStorage persistence. The system allows you to create, open, search, and delete documents quickly and privately in the browser, an ideal solution for those who value simplicity and confidentiality.
High-fidelity PDF exports One of the technical challenges was generating PDFs faithful to the design when client libraries failed due to new CSS color formats. The solution was a serverless function with Puppeteer that receives the preview HTML, launches a headless Chrome, applies minimal CSS, and uses the browser's own print-to-PDF function to obtain flawless results.
Learning and satisfaction Building what you really need forces you to think about every detail and is a powerful learning experience. This project was born from real problems and today can serve other developers and teams who need control, speed, and quality in their content generation.
Try it and the code You can try the application at https://smart-markdown-pro.vercel.app/ and explore the repository at https://github.com/Abubakr-Alsheikh/smart-markdown-pro to see implementations and contributions.
About Q2BSTUDIO Q2BSTUDIO is a software development company specialized in custom applications and custom software. We offer complete solutions in artificial intelligence for businesses, AI agents, and AI projects for companies looking to automate processes and improve decisions. We are also experts in cybersecurity to protect critical assets and in aws and azure cloud services to deploy scalable and secure infrastructures. Our business intelligence and power bi services allow you to transform data into actionable insights and maximize the value of information.
Why partner with Q2BSTUDIO If you are looking for a partner that combines technical expertise and a results-oriented approach, Q2BSTUDIO creates custom applications with cybersecurity practices, integrates artificial intelligence, and develops cloud solutions on aws and azure. We design custom software, implement AI agents, develop business intelligence solutions, and configure power bi dashboards to improve decision-making.
Contact and next step If this type of project inspires you and you have daily annoyances you would like to turn into an application or service, Q2BSTUDIO can help you transform that idea into a real solution. We offer consulting in custom software, artificial intelligence, cybersecurity, aws and azure cloud services, business intelligence services, AI agents, and power bi for companies that want to grow with technology.
Invitation I would love to hear about the daily annoyances you would like to turn into a project. If you are thinking about a custom application, improving your internal artificial intelligence, or strengthening your organization's cybersecurity, contact us and let's take that idea from concept to product with Q2BSTUDIO.





