Automattic/simplenote-android

Inquiry About Exporting Internal Links in JSON for ASCII-Doc Conversionr '[Type] Enhancement'

joshjama opened this issue · 3 comments

Hallo, My name is Joshua, and as an enthusiastic user of your SimpleNotes app, I would like to express my gratitude. As a blind user, I particularly appreciate the ability to use your app for the Zettelkasten method – a feature that is inaccessible to me in other applications due to my visual impairment.

I have developed a script that converts the SimpleNotes export (in JSON format) into ASCII-Doc. This is based on a project for converting JSON to Markdown for Obsidian. This is crucial for me, as my university work relies heavily on the ASCII-Doc format.

My specific concern is about the export functionality, especially the ability to export internal links. These links are essential for maintaining the structure of my projects. Without the ability to export these links, the separation of projects and the structured presentation of my knowledge would be compromised, significantly reducing the usefulness of the information. This is particularly relevant to my learning process following the Zettelkasten principle.

Therefore, I kindly request information on how internal links are created and represented in the JSON file. My goal is to gain a better understanding of how to represent and convert these links in my own project.

I thank you in advance for your time and effort in assisting me with this matter.

Kind regards,

Joshua

---

What

Why

How

[Type] Enhancement

Fails
🚫

Please add a type label to this issue. e.g. '[Type] Enhancement'

Generated by 🚫 dangerJS

Simple note to asciidoc

Project to convert simple notes markdown notes to aske dog format

Documentation: AsciiDoc to Markdown Conversion

@author : Joshua Jama @ Perplexity.ai
@Date
26.1.2024

@category : Documentation, asciidoc2md, asciidoc, markdown, convertion,
simplenotes, Aufbau, Studium, Technologie, Scripts

Requirements

  • Ruby

  • Asciidoctor

  • Python

  • Pip

  • html2text (Python package)

Installation Process

  1. Install Ruby, if not already present. Visit https://www.ruby-lang.org for instructions.

  2. Install Asciidoctor using the RubyGems package manager:

    gem install asciidoctor

  3. Ensure Python and Pip are installed on your system. Visit https://www.python.org for instructions.

  4. Install the html2text Python package using Pip:

    pip install html2text

Usage

  1. Save the script in a file, for example adoc2md.sh.

  2. Make the script executable:

    chmod +x adoc2md.sh

  3. Run the script, passing the path to the folder with your AsciiDoc files as an argument:

    ./adoc2md.sh /path/to/source/folder

The script will convert all .adoc files in the specified source folder to
Markdown and save them in the md subfolder of the source folder.

Last updated 2024-01-26 16:09:20 +0100