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

Add support for neorg file title? #265

Open
breneser opened this issue Aug 25, 2023 · 3 comments
Open

Add support for neorg file title? #265

breneser opened this issue Aug 25, 2023 · 3 comments

Comments

@breneser
Copy link

Would it be possible to recognise title of neorg files ( orgmode alternative in vim ecosystem ).

Here is a link for neorg project.

The format is as follows:

@document.meta
title: index
description: 
authors: 
categories: 
created: 2023-08-25
updated: 2023-08-25
version: 1.1.1
@end
@xwmx
Copy link
Owner

xwmx commented Aug 29, 2023

Hi @breneser, looks interesting. It should be possible to extract titles using the same approach as markdown front matter titles in _get_content(). It looks like there isn't yet an easy way to convert .norg files to HTML or other formats, so only titles would be supported.

@breneser
Copy link
Author

breneser commented Sep 5, 2023

It seems to have a module for export into markdown format. Can be seen https://github.com/nvim-neorg/neorg/wiki/Markdown-Export . Would that be any help? Not sure if it can be used as an external tool though.

@breneser
Copy link
Author

breneser commented Sep 5, 2023

There is also an open Pandoc issue where the format is being discussed. jgm/pandoc#7495

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants