Home
Finance
Travel
Academic
Library
Create a Thread
Home
Discover
Spaces
 
 
  • Introduction
  • Save my Chatbot Extension
  • Custom Sources Plugin
  • Styling the references
  • See the Result
 
Download Perplexity Page as Markdown For Jekyll

Converting Perplexity's page into markdown text for reposting on a Jekyll website or any markdown-based blog can be streamlined using a mix of CSS styling and JavaScript. This method ensures that external links are automatically formatted into superscript numbers enclosed in square brackets, resembling traditional academic citations.

By leveraging these tools, you can maintain a clean and professional appearance for references while ensuring compatibility with markdown-based platforms like Jekyll.

Curated by
saiqulhaq
3 min read
Published
Attachment
import-and-export-mysql-database
blog.jakelee.co.uk favicon
Jake Lee on Software
An introduction to GitHub & Jekyll's footnote functionality, and finding ...
github.com favicon
GitHub
Markdown Footnotes Format · Issue #2886 · jekyll/jekyll - GitHub
github.com favicon
GitHub
olov/jekyll-references: Jekyll Markdown references plugin - GitHub
Save my Chatbot Extension

"Save my Chatbot - AI Conversation Exporter" is a Chrome extension designed to simplify the process of saving conversations from various AI chatbots, including Perplexity, into markdown files12. This tool allows users to download their chat threads with a single click, preserving the content in a structured format ideal for offline storage, integration with note-taking apps, or sharing with others12.

Key features of the extension include:

  • Support for multiple platforms: Claude, Perplexity, Phind, ChatGPT, and MaxAI-Google2

  • Clean markdown formatting and structure2

  • Retention of numbered sources in exported files2

  • Customizable export options2

  • Informative file headers and filenames, including date and URL2

  • Indication of the chatbot response mode used (for Phind-Search and Perplexity)2

To use the extension, simply navigate to a supported chat page and click the extension icon. The conversation will be automatically downloaded as a formatted markdown file, ready for further processing or sharing12. This tool addresses the need for offline storage of AI-generated information and facilitates easy integration with knowledge management systems like Obsidian3.

github.com favicon
chromewebstore.google.com favicon
restack.io favicon
10 sources
Custom Sources Plugin

To create a custom Jekyll plugin that enhances the appearance of the Sources section, we can leverage Jekyll's plugin system to generate a neatly formatted bibliography. This approach will help maintain consistency and improve the readability of your references. Here's how to implement a custom plugin for this purpose:

First, create a new Ruby file in your Jekyll project's _plugins directory, naming it sources_formatter.rb. In this file, you can use the plugin available at this GitHub link to simplify the process. The plugin utilizes details and summary HTML tags to compactly display the Sources section. It processes each post on your site by identifying and rewriting the Sources section into collapsible details, ensuring sources are presented as an ordered list with clickable links where applicable. This method saves space while maintaining accessibility and readability.

To effectively integrate this plugin, ensure your post content is split by a Sources marker. The plugin formats the sources into an HTML structure using the provided logic and appends the processed content back to the post. By following these steps and using the downloadable script, your Sources section will be both visually appealing and functional.

github.com favicon
open-research.gemmadanks.com favicon
stackoverflow.com favicon
9 sources
Styling the references

To identify and style numeric or short-label links as footnotes, you can use JavaScript and CSS. Copy the JavaScript code from here and the corresponding CSS from here. These resources provide a comprehensive solution to make reference links appear like footnotes.

The JavaScript runs when the DOM is fully loaded, selecting all external links and applying the footnote-link class to those with numeric content or labels of 1-2 characters in length. A regular expression ensures precise targeting of footnote-style references.

blog.jakelee.co.uk favicon
github.com favicon
15 sources
See the Result

The techniques and tools discussed in the previous sections have been implemented to create a seamless integration of Perplexity content into a Jekyll-based website. Readers can see the practical application of these methods by visiting https://saiqulhaq.id/importing-huge-mysql-database. This page demonstrates how the custom Jekyll plugin, CSS styling, and JavaScript enhancements work together to transform a Perplexity page into a polished blog post.

On this example page, you'll notice:

  • The sources are neatly formatted and collapsible, thanks to the custom Jekyll plugin.

  • External links appear as superscript numbers in square brackets, mimicking academic citations.

  • The overall layout and design maintain consistency with the rest of the Jekyll site while preserving the valuable content from Perplexity.

This implementation showcases the effectiveness of the described techniques in creating a professional-looking, markdown-compatible blog post from Perplexity content.

help.krystal.io favicon
youtube.com favicon
talk.jekyllrb.com favicon
10 sources
Related
What are the steps to customize the UI of a Perplexity page
How can I ensure my Perplexity page links are properly formatted
What are the best practices for importing large databases into MySQL
How do I troubleshoot common issues when importing a MySQL database
Can I automate the process of importing a large MySQL database
Discover more
Adobe launches Firefly mobile app with AI image, video tools
Adobe launches Firefly mobile app with AI image, video tools
Adobe released its Firefly mobile app Tuesday for iOS and Android devices, marking the company's latest push to democratize artificial intelligence tools beyond its traditional desktop software suite. The free app allows users to generate images and videos using both Adobe's proprietary AI models and an expanded roster of third-party systems, including Google's newest Veo 3 video generator and...
2,977
Google tests audio overviews in Search Labs with Gemini AI
Google tests audio overviews in Search Labs with Gemini AI
Google is testing a new feature called Audio Overviews in Search Labs that uses its latest Gemini AI models to generate spoken summaries of search results for specific queries, offering users a hands-free way to absorb information while multitasking or when an audio format is preferred.
5,365
Snapchat unveils timeline editor and new tools for creators
Snapchat unveils timeline editor and new tools for creators
Snapchat is introducing a suite of new tools and features to make it easier for creators to create and share content on its platform, including a Timeline Editor for intuitive video editing, templates for creating compilation videos from saved Memories, and the ability to auto-save Stories directly to profiles.
979
Meta AI adds video editing with 50 prompts for Facebook, Instagram
Meta AI adds video editing with 50 prompts for Facebook, Instagram
Meta has introduced new video editing capabilities to its Meta AI platform, allowing users to transform 10-second video clips using over 50 preset AI prompts that can change outfits, locations, styles, and lighting effects, with the transformed videos shareable directly to Facebook and Instagram, while future updates will enable custom text prompts beyond the current presets.
5,875