Skip to content

Commit

Permalink
v0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhuster committed Nov 3, 2024
1 parent f34a68b commit d876176
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 38 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Introduction 📖

[![LuaRocks](https://img.shields.io/luarocks/v/brianhuster/live-preview.nvim?logo=lua&color=purple)](https://luarocks.org/modules/brianhuster/live-preview.nvim)

live-preview.nvim is a plugin for Neovim that allows you to view [Markdown](https://en.wikipedia.org/wiki/Markdown), [HTML](https://en.wikipedia.org/wiki/HTML) (along with CSS, JavaScript) and [AsciiDoc](https://asciidoc.org/) files in a web browser with live updates. No external dependencies or runtime like NodeJS or Python are required, since the backend is fully written in Lua and Neovim's built-in functions.
Expand Down
39 changes: 2 additions & 37 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,3 @@
## Fix bug
* Fix bug with `dynamic_root = true` option not working [#211](https://github.com/brianhuster/live-preview.nvim/issues/211)
## New features

## 🗑️ Deprecated API
* `require('livepreview').preview_file()`. Use `require('livepreview').live_start()` instead.
* `require('livepreview').stop_preview()`. Use `require('livepreview').live_stop()` instead.


## ✨ New features

### 🔍 Integration with telescope.nvim

To use this feature, make sure you have installed [nvim-telescope/telescope.nvim](https://github.com/nvim-telescope/telescope.nvim)

Then, set `telescope.autoload` to `true` in the [configuration table](./README.md#setup) of live-preview.nvim. It will automatically load the `Telescope livepreview` extension when the plugin is set up.

Alternatively, you can load the extension in your Neovim configuration file:

```lua
require('telescope').load_extension('livepreview')
```

Now you can run `:Telescope livepreview` to open live-preview.nvim's Telescope picker.

### ⚙️ New configuration options
`autokill` (default: `false` or `v:false`): If true, the plugin will automatically kill other processes running on the same port (except for Neovim) when starting the server.

### File path as optional argument for the command to start server

You can now pass a file path as an argument to the command `:LivePreview` (or whatever you configure) to open that file in the browser. For example, `:LivePreview Documents/file.md`.

### Availability on Luarocks 🪨

Now you can use [rocks.nvim](https://github.com/nvim-neorocks/rocks.nvim) to install live-preview.nvim with a single command:

```vim
:Rocks install live-preview.nvim
```
* Add support for Github emoji in markdown files
6 changes: 6 additions & 0 deletions doc/livepreview-changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v0.7

## New features

* Add support for Github emoji in markdown files

# v0.6

## Fix bug
Expand Down

0 comments on commit d876176

Please sign in to comment.