All right so all you have to do is go curly bracket curly bracket the name of the column and curly bracket and curly bracket and you're done that's it all right that's very simple right if you have a hundred columns in your Excel spreadsheet you could map all hundred of them you could format this however you want you could bold the headings italics lay it out you could probably add let's just try this right import oh it's been a while call out here we go read aloud this is my text I have this name in my bag just as an example right just to show that it can be done all right that's a handlebar file that's that's that's it there's nothing really much that much to it you basically just creating a file or a note inside of obsidian that tells you where you want to import those items when they come from your your spreadsheet and with that we then come over here to the JSON CSV importer icon which will be down your left-hand side here choose JSV CSV file so we're gonna go choose file and I'm going to use the the book 2.CSV that I saved before choose template file so this is my handlebar file that I just created so I know that that's in my vault so we're gonna go to obsidian demo vault 2 it's in where is it templates it's a markdown and it is my handlebar magic items all right so that's now selected field to use as a note name all right so I want my files to be named according to well in this case here what I'm going to use is I'm going to use the magic item that's fine and which folder do I want to put it in I'm gonna put it into the import test all right now just to show you just how cool this thing is right like import test right now is empty there is nothing in here now we come back to here I can't do this again I take long if I can't remember where I put everything okay I'm ready set go boom import finished okay so what is it done let's go and have a look it's not empty anymore all right what it's done it's just imported and created a new note for every single one of these interestingly I've actually got more have I oh no it's just it's okay it's we can come in here and have a look we've got the the tag that we put in we've got the name came in the price the rarity the table populated and the call-out box worked all right now you can see it's created one note for every single line in my table and you can see instantly how useful that can be right you just have to go and I don't know let's say well can you find an NPC spreadsheet online for example pretty sure there's actually a reddit out there of D&D DMs who've been collecting NPCs for a while there's thousands of them technically you can import the whole thing or if you could find like an SRD file that contains all the monsters or all the spells you can import all that all right simples so yeah that is a that's filing CSV JSON importer again this is just a simple demo of how the functionality works just to get your head sort of in the mindset of thinking about what you could do with this thing it does work on JSON JSON files which means technically if you were playing with fifth edition monsters you could do the import from there as well I will say though that JSON is more complex than CSV JSON tends to have nested data elements and what I mean by that is there's usually a parent item and then underneath the parent there might be different items so for example there might be a parent variable called attributes and then inside the attributes you won't find another variable called strength and dexterity and constitution so when that happens you're gonna need to sort of jump into that readme file and really sort of go through and find out how you can access the sub layers of that I've played around with it I managed to get it working I haven't got it working completely accurately to what I wanted so I stopped playing with it but I found some other ways to do what I wanted to need to do myself but yeah obviously if you're you're playing with bulk data or you know this is a it's not not really that technical so for those of you who aren't data analysts or don't understand SQL or don't want to dive into KNIME or Alteryx or something like that you know this is a really fantastic option so yeah anyway guys I hope that's a big useful for you hope it helps obviously get your your data into the tool in a much more efficient way and yeah we'll see what you guys can do with it so outside of that I'll speak to you guys on the forums have a great day
好了,你要做的就是把列名用大括號括起來,再用大括號括起來,這樣就完成了,非常簡單,如果你的 Excel 電子表格中有 100 列,你就可以把這 100 列全部映射出來,你可以隨心所欲地設置格式,你可以把標題用粗體斜體標出來,你還可以添加一些內容,讓我們來試試看吧。這是我的文本,我的包裡有這個名字,只是舉個例子,只是為了說明可以這樣做,好了,這是一個手把手文件,就是這樣,就是這樣,其實沒有什麼太多的東西,你基本上只是在黑曜石裡面創建了一個文件或一個備註,告訴你當這些項目來自你的電子表格時,你想把它們導入到哪