Displaying linked notes (nvALT's internal links)

Dellu's Avatar

Dellu

02 May, 2014 12:57 PM

nvALT has a way of keeping links between notes.
[[Lexical restructuring]]] for example connects back to a note titled **Lexical restructuring*. Currently, Marked doesn't understand these links. We are using these links as outlines in nvALT. we called the system Semantic notes: for a reason explained in here. The idea is for Marked to be able to display the linked notes as sub-elements of the link. For example, I am reading a book that has a few chapters. I want to keep each of the chapters as separate notes in nvALT. Outlining (the semantic notes) does a great job at that. But the problem is if I want to print all the notes taken from the whole book, i can not.

[[Lexical restructuring]]
[[functional restructuring]]
[[the infinitival subjects]]

I want to have the option for Marked to display notes under [[Lexical restructuring]] whenever I preview Structures.
If I want to print Structures notes, in the current state, I only get the three lines. If Marked could understand the links, I could have the option to print all the notes under the three notes.

is it possible?

  1. Support Staff 1 Posted by Brett on 02 May, 2014 01:19 PM

    Brett's Avatar

    I'm not sure I understand. You want [[notes]] to actually include the
    contents of the notes? Marked already has an include syntax
    (<<[filename.md]) that will do this, but interpreting [[links]] as
    include statements seems like a bad idea (because they already represent
    links, not includes. Perhaps you could provide an example structure for
    me?

    -Brett

  2. 2 Posted by Dellu on 02 May, 2014 07:17 PM

    Dellu's Avatar

    yes, the include syntax can do what I want to do. I didn't know about the feature. I am trying it now; but doesn't seem to do anything. Doesn't it work for TXT extensions?


    I think it is good idea to unify the internal liking feature and the include syntax. I don't see any problem. if you want to get my point. think of a book with three chapters. The title of the book is Embedding Syntax. The three chapters of the book are:
    Chapter1- Defining Embadding
    Chapter 2- Embedding and recursion
    Chapter 3- Embedding in natural language syntax

    Assume I am reading the book now. I am going to create separate notes for each of the chapters in nvALT. And, one additional note in the name of the title Embedding Syntax. this last note doesn't contain any content of its own. it rather contains just links to the three notes (chapters), in order.
    What I want in Mark is to be able to display all the three chapters (1-3) by previewing Embedding Syntax.


    As I understand you, if include syntax feature is available, I can use that one in Embedding Syntax.

  3. Support Staff 3 Posted by Brett on 02 May, 2014 07:39 PM

    Brett's Avatar

    We're talking about Marked 2, right?
    http://marked2app.com/help/Multi-File_Documents.html

    -Brett

  4. 4 Posted by Dellu on 02 May, 2014 07:41 PM

    Dellu's Avatar

    ok, thank you.

    this is perfect!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • ppic348.png 30.5 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac