Comments (4)
Hi @Xiangze-Li ! I'm not too familiar with this use case. Can you explain further? Why would markdown files have YAML front matter? noted explicitly supports Markdown only right now, like the About mentions:
Lightweight CLI for taking markdown notes . . .
But if there is a use case where not having the new lines added in is better for some users, we can probably incorporate this in the next release into a config option?
from noted.
Thanks for replying! I read a blog about use noted to take notes then use hugo or other tools to generate a website from all the md files. With YAML front matter, I can add some metadata to the pages, like:
---
author: XXX
date: TIMESTAMP
---
# HEADERTEXT
If there's no leading newline, everything will work just fine.
Thanks again!
from noted.
@Xiangze-Li Hi! Sorry for the delay here. We had a holiday on Monday in the US so I was gone over the weekend.
OK so it sounds like you just need to configure a custom template file for your use case. This is already supported by noted! 🎉
Please refer to the section on custom configuration where you will set up a .notedconfig
file with a NOTED_TEMPLATE_FILE
property. The value of this property should be the path to your own template file. It explains it all in the link.
Let me know if you have any questions or any issues with it.
from noted.
Hi! I tried the custom template config again, it worked this time. I must have made some mistakes last time I edit the template.
Sorry for these trouble. Many thanks for your assistance! And wish you a happy holiday!
from noted.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from noted.