Kanekotic/Meteor the beginning

Created Wed, 27 Jan 2016 09:56:49 +0200 Modified Sun, 05 Dec 2021 10:26:06 +0000


I found a lot of interesting things in this link, i can setup my view model to a real JavaScript object.



To add markdown support you will have to add the markdown package:

meteor add markdown

If you also want your snippets of code to have some style you will also need to add the highlight.js package:

meteor add simple:highlight.js


to get a multi-line input you need to make sure you get a textarea. This can be done in the collection definition by:

TestSchema = new SimpleSchema({
    content: {
        type: String,
        label: "Content",
        autoform: {
            rows: 10