%% generate tags start %%
#obsidian
%% generate tags end %%
#obsidian/plugin
%% run start
```ts
const {LinkPreview} = customJS
return LinkPreview.getLinkPreviewFromUrl("https://github.com/ljcoder2015/obsidian-excel")
```
%%
<div class="nifty-link-card-container">
<a class="nifty-link-card" href="https://github.com/ljcoder2015/obsidian-excel" target="_blank">
<div class="nifty-link-card-text">
<div class="nifty-link-card-title line-clamp-2">GitHub - ljcoder2015/obsidian-excel</div>
<div class="nifty-link-card-description">Contribute to ljcoder2015/obsidian-excel development by creating an account on GitHub.</div>
<div class="nifty-link-href">
<img class="nifty-link-icon" src="https://github.com/fluidicon.png">
https://github.com/ljcoder2015/obsidian-excel
</div>
</div>
<div class="nifty-link-image-container">
<div class="nifty-link-image" style="background-image: url('https://opengraph.githubassets.com/1e30d87bdb1176b3b074db3f261c063c12567a65f5aa9b4be0890b1e11f7d25b/ljcoder2015/obsidian-excel')">
</div>
</div>
</a>
</div>
%% run end %%
## Obsidian Excel Plugin
## Excel
The Obsidian-Excel plugin integrates [x-spreadsheet](https://github.com/myliang/x-spreadsheet), a feature sheet tool, into Obsidian. You can store and edit `xlsx` files in your vault.
### create sheet file
[](https://github.com/ljcoder2015/obsidian-excel/blob/master/doc/img/create.gif)
### import/export xlsx file
If you are using Microsoft Office 365 to create xlsx files, you need to import the display.
[](https://github.com/ljcoder2015/obsidian-excel/blob/master/doc/img/import.gif)
### embed link to markdown
embed link rule:
`![[file-folder/file-name#sheet-name|sri-sci:eri-eci<sheet-height>{html}]]`
- `sri`: Start row index
- `eri`: End row index
- `sci`: Start column index
- `eci`: End column index
- `{html}`: Whether to display as HTML
- `<sheet-height>`: Sheet height, dispaly HTML not work
[](https://github.com/ljcoder2015/obsidian-excel/blob/master/doc/img/link.gif)
[](https://github.com/ljcoder2015/obsidian-excel/blob/master/doc/img/part-link.gif)
[](https://github.com/ljcoder2015/obsidian-excel/blob/master/doc/img/embed-link-height.gif)
[](https://github.com/ljcoder2015/obsidian-excel/blob/master/doc/img/embed_html.gif)
### copy selected cells to HTML
[](https://github.com/ljcoder2015/obsidian-excel/blob/master/doc/img/html.gif)