Skip to content

Commit

Permalink
feat(v25)!: New version release
Browse files Browse the repository at this point in the history
- Completely rewritten `markview.nvim`
- Adds typst support
- Better rendering logic
- Performance optimizations.
- More customization

And more!
  • Loading branch information
OXY2DEV committed Jan 25, 2025
1 parent 6e9f184 commit b88a396
Show file tree
Hide file tree
Showing 81 changed files with 43,788 additions and 13,921 deletions.
104 changes: 70 additions & 34 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,55 +1,91 @@
name: Bug report
description: Report a bug in markview
title: '🐞 Bug: '
description: "Report a bug in markview."
title: "🐞 Bug: "
labels: [ "bug" ]
assignees:
- OXY2DEV
body:
- type: checkboxes
id: issue-conditions
id: branch
attributes:
label: 'Before reporting:'
description: |
These are **requirements** and failing to fulfill them will result the issue to be closed.
labels: "🤖 Which branch are you using?"
options:
- label: Ensure that the issue is reproducable on the main branch.
required: true
- label: Ensure that there isn't an issue on this(either open or closed).
required: true
- label: "dev"
- label: "main"

- type: textarea
id: issue-desc
id: desc
attributes:
label: 'Problem:'
description: |
Describe the current behavior(images, gif, videos & logs) may be attached.
placeholder: A description of the issue...
label: "📜 Issue description:"
description: "Describe the issue in a *clear* and *concise* way. You should also attach `images`/`gifs` if it's a visual bug."
placeholder: "Fenced code blocks don't render when..."
validations:
required: true

- type: textarea
id: issue-repro
id: repro
attributes:
label: 'Steps to reproduce the issue:'
label: "📑 Reproduction steps:"
description: "Give step by step instructions on how to recreate the issue using the `minimal init`."
placeholder: "1. Open Neovim."
validations:
required: true

- type: textarea
id: minit
attributes:
label: "💻 Minimal init:"
description: |
*Things to check before opening an issue:*
- Ensure that you don't have other `markdown` plugins enabled(unless it's a comparability issue with that plugin).
- Ensure that you are using the **latest version** of the plugin.
- Ensure that your `Neovim` version is **>=0.10**.
- Ensure that you have the correct `tree-sitter` parsers
installed(markdown, markdown_inline & html).
placeholder: nvim
The minimal config file to reproduce the issue.
Put this in a file(e.g. `minit.lua`) and do `nvim -u minit.lua` to run it.
placeholder: |
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
ensure_installed = { "html", "latex", "markdown", "markdown_inline", "typst", "yaml" }
},
{
"OXY2DEV/markview.nvim",
-- branch = "dev",
lazy = false
}
},
});
validations:
required: true

- type: textarea
id: issue-expected
id: repro
attributes:
label: 'Expected behavior:'
description: Describe what should've happened.
placeholder: Markview should've...
label: "📜 Logs:"
description: |
After Reproducing the bug, run `:Markview traceExport`. You will see a new file `trace.log` has been created in your current directory.
Copy it's contents here.
placeholder: "Logs..."
validations:
required: true

- type: input
id: issue-nvim_v
id: nvim-ver
attributes:
label: "Neovim version:"
description: "Neovim version."
placeholder: "nvim -v"
validations:
required: true

- type: textarea
id: minit
attributes:
label: 'Neovim version:'
description: Neovim version.
placeholder: nvim -v
label: "✅ Expected behavior:"
description: "The expected behavior."
placeholder: "Markview should..."
validations:
required: true

42 changes: 23 additions & 19 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,32 @@
name: Feature Request
description: Request a new feature in markview
title: '✨ Feature: '
description: "Request a new feature."
title: "✨ Feature: "
labels: [ "enhancement" ]
assignees:
- OXY2DEV
body:
- type: checkboxes
id: feat-type
attributes:
label: 'The nature of the feature:'
description: |
Select one or more options that describes this feature.
options:
- label: Parser(syntax, conceal etc. related)
- label: Renderer(style, options etc. related)
- label: Support(plugin support, language support etc. related)
- label: Other
- type: textarea
id: feat-desc
attributes:
label: 'Description:'
description: |
Describe the feature(images, videos, referances are welcome).
placeholder: A description of the feature...
label: "🔖 Feature description:"
description: "Briefly describe what the feature does."
placeholder: "We should have a way to..."
validations:
required: true

- type: textarea
id: solutions
attributes:
label: "📂 Possible solutions:"
description: "Describe the solutions you have thought of on how to add this."
placeholder: "We should probably add..."
validations:
required: false

- type: textarea
id: feat-ref
attributes:
label: "🧾 Feature reference:"
description: "Reference features similar to what you wanted(if applicable)."
placeholder: "This feature is available in..."
validations:
required: false

16 changes: 12 additions & 4 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
Expand All @@ -16,8 +15,17 @@ jobs:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: '🤖 Bot: **Issue** has not seen activity in **30** days and will therefore be marked as stale. It will be closed in 7 days if no further response is found.'
stale-pr-message: '🤖 Bot: **PR** has not seen activity in **30** days and will therefore be marked as stale. It will be closed in 7 days if no further response is found.'
days-before-stale: 30
days-before-close: 7
exempt-issue-labels: dev,important

stale-issue-message: |
🤖 Bot: There has been no recent activity in this issue. Without new activity this issue will be closed in **7** days.
stale-pr-message: |
🤖 Bot: There has been no recent activity in this PR. Without new activity this PR will be closed in **7** days.
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'
days-before-stale: 30

close-issue-label: 'no-issue-activity'
close-pr-label: 'no-pr-activity'
Loading

0 comments on commit b88a396

Please sign in to comment.