Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.0.0 #62

Open
19 tasks
blakedietz opened this issue Oct 23, 2020 · 1 comment
Open
19 tasks

v2.0.0 #62

blakedietz opened this issue Oct 23, 2020 · 1 comment
Assignees
Labels
Discussion help wanted Extra attention is needed

Comments

@blakedietz
Copy link
Owner

blakedietz commented Oct 23, 2020

Updates

It's been about a year since I've touched this repo. I'm creating this issue to signal to anyone who's currently using it that I am listening and am passively working on this. I've been noodling on all of the issue ideas and will be using this issue as a roadmap and am open to further discussion.

Features

Current

  • Tag with YAML
    • Tag array
    • Bullet
  • Tag with Directives
  • Current file types
  • Tag tree
    • File view
      • Go to file on click
  • File filter support

New

  • Actions
    • Search
  • Intellisense
    • Recommend tag in hierarchy
  • Discoverability
    • Graph view
  • Tree view
    • Display document name instead of file name
    • Display line of each tag
      • Go to line of tag

Fixes

Architecture

Parsing

Instead of using the current approach which is doing a pretty dumb job for parsing, it may be worth looking at remark. The benefit would be having direct access to the AST of the document.

Here's an example of the library

var unified = require('unified')
var markdown = require('remark-parse')

var tree = unified().use(markdown).parse(`
<!-- foo -->
# Hello world!
`)

console.log(tree)
{
  type: 'root',
  children: [
    { type: 'html', value: '<!-- foo -->', position: [Object] },
    {
      type: 'heading',
      depth: 1,
      children: [Array],
      position: [Object]
    }
  ],
  position: {
    start: { line: 1, column: 1, offset: 0 },
    end: { line: 4, column: 1, offset: 29 }
  }
}
@blakedietz blakedietz added help wanted Extra attention is needed Discussion labels Oct 23, 2020
@blakedietz
Copy link
Owner Author

blakedietz commented Nov 30, 2020

Would be worth noting that the app offers Zettelkasten like features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant