- Use the
rg
binary from the local VS code installation
- Honor xrefstyle in the preview - thanks @r0ckarong
- Fix document to document xrefs in preview when the documents are included - thanks @birdman7260
- Replace dynamic import (unsupported by VS code)
- Allow spaces after table delimiter - thanks @ebousse
- Set intrinsic attributes
docdir
,docfile
anddocname
- Set attributes
docfilesuffix
andfiletype
- Enable/disable Antora support using commands
- Use
ripgrep
instead offindFiles
to improve performance - thanks @alaindresse
- Support
antora.yml
files when version is undefined ortrue
(#871) - thanks @leonardopavanrocha @alaindresse - Check if WebView is disposed (before refreshing)
- Add activation event for .adoc files - thanks @ohhmm
- Render Mermaid diagrams locally (i.e., without relying on Kroki) - thanks @ztuowen
- Fix a regression on xref introduced in 3.2.1 by @ViToni
- Bump dependencies by @ViToni
- Use color variable defined by theme for ToC by @ViToni in #850
- Fix non working xref in preview pane by @ViToni in #853
- Only prompt to enable Antora when antora.yml is not empty (#847)
- Consistent code completion for includes (#839)
- Fix highlighting a footnote with id (#835)
- Add doc role when the asciidoc page is used in an antora context (#845)
- Bump dependencies (#840)
- If Antora popup is closed (no answer) ask again later (#841)
- Improve autolink feature (#836)
- Fix glob pattern while building the Antora content catalog - previously, if the documentation component was located at the root of the workspace the content catalog was empty
- Add
asciidoc.preview.style
directory as a local resource roots in the WebView - hopefully loading stylesheets from outside the workspace will work again!
- Fix drive letter normalization - previously, we were applying
toLowerCase
on the whole path causing the WebView to return 401 on resources such as images (#825)
- Allow Kroki server in strict CSP defined as a preview attribute
- Add
https
tostyle-src
andscript-src
in strict CSP - Fix a typo on the message "Do you want to active Antora support?" -> "Do you want to activate Antora support?"
- Use a more restrictive glob search for
antora.yml
files - Use a faster implementation when suggesting to the user to activate Antora support
- Update GitHub Actions to v4 (major)
- Mention that
:kroki-fetch-diagram
is unsupported
- Replace
findFiles
by a recursive method that relies onworkspace.fs.stat
in the .asciidoctorconfig feature - should improve performance on large projects (#809)
- Fix preview in the Web version (on vscode.dev)
- Decode section titles in outline (#795)
- Allow Kroki server in strict CSP
- Added German translation strings - thanks @r0ckarong
- Support Antora resource IDs on include
- Run CI on Windows (#796)
- Bump dependencies
- Update asciidoctor Kroki to 0.17.0 - thanks @sixtysecrun
- Fix the web bundle - the extension was no longer working on vscode.dev (#774)
- Fix the convert and export functions to DocBook - the extension was exporting HTML instead of XML/DocBook (#775)
- Allow MathJax to load in strict CSP (#780)
- Update the bug template on GitHub to refer to extension logs (#782) - thanks @jonathan-s
- Ignore Antora documentation component symlinks (#755)
- Disable data-uri in preview (not supported) (#756)
- Provide image completion relative to the
imagesdir
attribute (#759) - Move
getContent
call after generating the document header (#762) - Remove the
imagesdir
attribute from image paths when drag and dropping images in the editor (#761)
- Use
textDocument.lineAt
to avoid issues with line separators discrepancy (#750) - Include .asciidoctorconfig, AsciiDoc attributes defined in the extension configuration and Antora AsciiDoc attributes in attributes completion (#754)
First stable release of 3.x which includes all changes from 3.0.x.
- provide folding for list of sibling attributes by @apupier (#719)
- support remote includes when exporting in PDF without additional setting configuration (#731)
- folding of several single line comments is not working for more than 2 lines (#722)
- attribute coming from include files are missing in completion with 3.0.x (#727)
- use vscode fs api instead of Node fs by @apupier in asciidoctor#669
pdf-themesdir
is now relative to the working directory (i.e., workspace folder) not relative to the document (#703)- remove Asciidoctor CLI support (#539)
stylesdir
andstylesheet
attributes are now ignored in the preview. Instead, you should defineasciidoc.preview.style
. Please note that when exporting to HTML,stylesdir
andstylesheet
will be used and should be defined in an.asciidoctorconfig
file.
NOTE: We strongly recommend to use .asciidoctorconfig
file to define common attributes.
This file will be used in the preview and when exporting to HTML and PDF (using asciidoctor-pdf
).
- Include path to completion item for xref by @apupier in asciidoctor#671
- add ability for asciidocParser to pass the krokiServerUrl by @haydencbarnes in asciidoctor#701
- provide completion short hand and long hand notation with similar scope of legacy by @apupier in asciidoctor#668
- append AsciiDoc attributes defined in antora.yml by @ggrossetie in asciidoctor#694
- add UI message with Japanese locale by @YoshihideShirai in asciidoctor#689
- support non-Git workspace by @ggrossetie in asciidoctor#696
- provide completion after<<from same document by @apupier in asciidoctor#670
- Fix completion after xref: for old double-square bracket notation by @apupier in asciidoctor#667
- declare
supports_templates
as attribute otherwisebackendTraits
overrides other values, as a result syntax highlighting wasn't working anymore! (#666)
- support
.asciidoctorconfig
and.asciidoctorconfig.adoc
by @apupier, @ggrossetie and @ahus1 (#380) - initial support for Antora by @marieflorescontact
- resolve Antora resources IDs on images by @marieflorescontact in asciidoctor#614
- add an option to preserve the preview window to avoid refreshing when switching away, and added setting to control this behavior by @rben01 in asciidoctor#607
- simplify contributions and add editor-selection style
- add support for custom templates by @xdavidson in asciidoctor#616
- provide sorttext on include suggestions by @eiswind in asciidoctor#626
- search path for included files by @eiswind in asciidoctor#618
- add drop images into editor feature by @marieflorescontact in asciidoctor#627
- set env attribute to vscode by @ggrossetie in asciidoctor#644
- open xref from preview by @ggrossetie in asciidoctor#643
- fix the logic that detects if
asciidoctor-pdf
and/orbundler
are available in thePATH
- fix base directory when exporting to PDF on Windows (#593)
- fix localization generation by @YoshihideShirai (#594)
- fix Table Of Content sidebar color not aligned with the active theme by @apupier (#340)
- fix typo Recomendations -> Recommendations in snippets by @apupier
- fix release automation
- fix autocompletion on files (by replacing
.md
by.adoc
) - allow loading local resources from all workspace folders
- fix extensions loading on Windows (using
fsPath
otherwise Node require doesn't work on Windows) asciidoctor#630 - fix show preview/preview localization by @ggrossetie in asciidoctor#640
- improve pull request and issue templates by @ggrossetie in asciidoctor#633
- add renovate config by @ggrossetie in asciidoctor#657
- fix 2 small typos in readme by @apupier in asciidoctor#642
- add an introduction and a prerequisite section. by @ahus1 in asciidoctor#656
- add Japanese localisation by @YoshihideShirai (#581)
- register Asciidoctor.js extensions by @YoshihideShirai (#569)
- create a complete HTML document using the WebView converter by @ggrossetie (#547)
- add code folding based on sections by @marieflorescontact (#550)
- add code folding on conditionals by @marieflorescontact (#555)
- add code folding on open blocks by @marieflorescontact (#559)
- add code folding on comment blocks by @marieflorescontact (#561)
- add code folding on single line comment by @marieflorescontact (#565)
- update preview icons and use codicons by @ggrossetie (#54)
- use load instead of convert for performance by @ggrossetie (#542)
- normalize setting names and group settings by category by @ggrossetie (#577)
- do not offer to download an outdated version of
wkhtmltopdf
by @ggrossetie (#577) - add a new setting to add command line arguments for
wkhtmltopdf
by @ggrossetie (#577) - offer to install locally the latest version of
asciidoctor-pdf
by @ggrossetie (#577)
- set
basebackend
andoutfilesuffix
on the WebView converter otherwise Docinfo are not correctly included (#522) - activate completion only when
:
is at the start of the line by @ggrossetie (#529) - correctly pass the
--footer-center
option towkthtmltopdf
by @gurbindersingh (#526) - fix asciidoctor-pdf and wkhtmltopdf user settings by @meznom (#533)
- set CSS variables for font size, font family and line height by @ggrossetie (#530)
- fix format of paste image default filename by @Zhou-Yicheng (#558)
- show source action does not open a new pane (if the source is already opened) by @marieflorescontact (#562)
- fix for opening links to local files in preview window by @tombolano & @marieflorescontact (#572 #573)
- upgrade dependencies (#515)
- extract the report errors logic into a dedicated function by @ggrossetie (#534)
- extract get baseDir logic by @ggrossetie (#535)
- remove superfluous
copycss
by @ggrossetie (#538) - unwrap convertUsingJavascript function by @ggrossetie (#537)
- introduce a load function by @ggrossetie (#541)
- remove slugifier (unused) from AsciidocEngine by @ggrossetie (#545)
- introduce an export function by @ggrossetie (#546)
- add basic instructions on how to develop/test the extension by @danyill (#540)
- fix manual install command in README by @marieflorescontact (#544)
- update contributing guide by @ggrossetie (#554)
- Fix regression about Docinfo files by setting
basebackend
andoutfilesuffix
(#524) - Upgrade dependencies (#515)
- Fix regression about footer in the PDF export (#528)
- Only activate completion when
:
is at the start of the line (#529) - Fix regression about reading
asciidoctorpdf_command
configuration (#533) - Fix regression about reading
wkhtmltopdf_path
configuration (#533)
- Fix regression in the PDF export (#512)
- Restructure the PDF export logic for testing (#512)
- Reduce bundle size (#517)
- Register the custom converter as
webview-html5
instead of replacing the built-in onehtml5
(#513)
- Fix regression in default preview styling (#501)
- Upgrade Asciidoctor.js to 2.2.6 (#514)
- Build the web extension when packaging (#500)
- Initial work to make the extension available as a Web Extension (#473)
- Scroll to the first line when the preview hits top (closes #348)
- Removed a double word, add some colons for clarity, and puctuation in README.md (#483)
- Support hyperlinks in source pane for include directive (#498)
- Ensure Asciidoctor.js error reporting is displayed on Windows (closes #466)
- Provide offline and integrated code syntax highlighting with highlight.js (closes #459)
- Update preview on preferences change (closes #447)
- Enforce code style (closes #446)
- Make
use_kroki
setting change effective without VS code restart (closes #444) - Allow links to work in the preview pane (closes #435)
- Update Asciidoctor.js to 2.2.5 (closes #431)
- Upgrade asciidoctor-kroki to allow use of pikchr diagrams (closes #419)
- Allow chapter to start from zero (closes #415)
- Fix options link in README.md (closes #405)
- Fix links in preview (closes #397)
- updated asciidoc-kroki to 0.12.0
- allow use of ${workspaceFolder} in attributes
- provide import completion for include and images
- update asciidoc-kroki to v0.11.0
- Fix "TypeError: range must be set" when previewing (closes #364)
- Bump lodash from 4.17.15 to 4.17.19 closes (#354)
- Fix unexpected splitting multibyte chars while chunking (closes #350)
- Fixed default export PDF filename when using asciidoctorpdf (closes #349)
- Remove depdendency on "copy-paste" which is never used
- No changes, release/publish using GitHub Actions
- Provide a safer default and configurable refresh interval (closes #334)
- Replace all references from joaompinto.asciidoctor-vscode to asciidoctor.asciidoctor-vscode
- Updated the extension path retrieval to use the new asciidoctor publisher
- Updated the demo gif
- Add "vsce" as a development dependency
- Fix problem creating .pdf with v2.7.16 (closes #332)
- Move wkhtmltopdf binaries to their own repository
- Add "vsce" as a development dependency
- Fix problem creating .pdf with v2.7.16 (closes #331)
- Provide diagnostics information for asciidoctor errors (PR #329)
- Update asciidoctor-kroki to 0.9.1
- Remove asciidoctor-plantuml «out of maintenance» (closes #308)
- Add CI to provide linting
- Update webpack configuration and restructure preview and app folders (closes #276)
- Added the ability to use the workspace path as the base_dir (closes #326)
- Added eslint validation (closes #290)
- Align the "Export to PDF" to the "Save as HTML" (closes #298)
- Support URI encoded characters in anchors links (closes #281)
- Add env-vscode attribute to detect vs code environment (closes #280)
- Add support for saving to Docbook (closes #102)
- Fix Save HTML file path on Windows (closes #269)
- Remove viz.js, let kroki handle graphviz (closes #267)
- Add support for saving html output
- Add Ctrl+Alt+V/Cmd+Alt+V (Mac) as shortcut key for image paste
- Change language definition to be the same as that of the Atom extension atom-language-asciidoc
- Support the source block (closes #212)
- Support image pasting on Linux/Mac (closes #255)
- Add Ctrl+Alt+V/Cmd+Alt+V (Mac) as shortcut key for image paste
- Add
.png
extension automatically for image pasting
- Prevent table of contents overlapping document for
:toc: left
and:toc: right
(closes #141) - Provide Intellisense autocomplete for attributes
- Provide basic support for setext two-line titles (closes #248)
- Update to Asciidoctor 2.0.10 and Asciidoctor.js 2.1.0
- Update dependencies to latest versions
- Update TextMate language generation to use safe_load in Python script
- Revise asciidoctor-pdf command to prepare for use of asciidoctor-pdf.js
- Tidy up licensing and copyright notices in files
- Disable foldingProvider and add throttling to SymbolProvider
- Add asciidoctor-kroki support
- Add basic symbol provider (closes #234)
- Clean use of '-o' option for compatibility with asciidoctorj (closes #232)
- Add config option to set the wkhtmltopdf binary path (closes #202)
- Update Asciidoctor(.JS) requirement to 2.0.3 (fixes #203, thanks to @jvalkeal)
- Fixes: No autoscroll in VSCode > 1.28 #182
- Fixes to README (thanks to @jstafman [email protected])
- Changed the order of configuration settings
- Display an error notification when asciidoctor.js fails
- Fix an error caused by incorrectly accessing the workspace folder (issue #191)
- Fix
preview.attributes
description.
- Add
preview.style
option to set preview stylesheet in settings
- Add
preview.attributes
option to set preview attributes in the user/workspace settings - Overhaul README
- Fix an error from 2.5.1 that caused all syntax highlighting to fail
- Change remaining Markdown-named variables/modules to AsciiDoc
- Improve automated building/packaging script
- Fix contrained literal (`) or closing single typographic quote (`') bug when used inside typographic quotes (e.g. "`busy `'till tomorrow`" would create a recursive match)
- Add syntax highlight for closing single typographic quote (`')
- Repaired preview.useEditorStyle option
- Improved the editor-style css to match the default one used by asciidoctor
- Fix missing highlight for single character constrained inlines (e.g. *a*)
- Fix errors with the preview security setting
- Fix an error with jsonValidation (thanks to @shaneknysh [email protected])
- Fix descriptions still using "Markdown" instead of "AsciiDoc" (thanks to @ygra [email protected])
- Update preview to ascidoctor.js v1.5.9 (thanks to @ggrossetie [email protected])
- Fix encoding errors (thanks to @mojavelinux [email protected])
- Fix plantUML preview from multiple files and folders (thanks to @Dimeiza [email protected])
- Highlight fenced source blocks (Markdown-like syntax) in the editor
- Add snippets for general attribute and tagged block
- Temporary fix for transparent side toc (
:toc: left
,:toc: right
)
- Add option to use asciidoctor-pdf instead of wkhtmltopdf
- Fix pdf paths with single quotes not opening from the notification after exportAsPDF
- Fix documents with apostrophe in path not rendering with manual command
- Add option to use editor or default style in preview
- Snippets
- Use theme background on preview (thanks to [email protected])
- Broken links on diagrams in preview (asciidoc.use_asciidoctor_js: false), closes #142
- YAML syntax file, improved inline syntax detection, automated building (thanks to [email protected])
- fixes typos in Description for AsciiDoc.forceUnixStyleSeparator (thanks to ccb012100)
- diagram (specifically plantUML) support in asciidoctor.js (closes #105)
- Rebuilt using vscode-1.28.2/extensions/markdown* from Microsoft
- Test release
- asciidoctor_command can have arguments (closes #103)
- updated fs-extra requirements (closes #88)
- Support for copy/paste images
- Style/Disable Preview Highlighting (closes #85)
- Add support for Mermaid Diagrams (unprintable)
- Add graphviz support using Viz.js (closes #78)
- Support :footer-center: to place a footer center on exported PDF (closes #77)
- Removed unnecessary binary files from the extension package
- Improve the default CSS (closes #76)
- Add page break support for PDF export (closes #75)
- Support logo on title page (closes #74)
- Rename CHANGES.md CHANGELOG.md to have it shown in the extension info
- Quote filename on asciidoctor call (closes #73)
- Added title page with author info (closes #71)
- Added Technical Document snippet, based on http://web.mit.edu/course/21/21.guide/elemtech.htm
- wordwrap if the file type is .adoc (closes #65)
- activate on "asciidoc" related commands (closes #64)
- runInterval is now respected during document changes (closes #68)
- Fix links when using external asciidoctor (closes #67)
- Added Export to PDF command (using wkhtmltopdf)
- Synchronize preview with the selected/edited source line
- The preview window is now shared accross documents
- Use asciidoctor with -q since we now rely on stderr for error detection
- On settings replaced html_generator with asciidoctor_command
- Add data-line-(source-nr) for preview synchronization
- Do not use temporary files for adoc generation, closes #54
- Use the same keybindins as the markdown extension. closes #55
- Merge pull request #53 from malvim/formatting-surround
- Enable auto surrounding for formatting symbols
- Always rebuild preview when preview uri changes, closes #43
- Use
convertFile()
instead offConvert()
, closes #50
- Fixed the "how to install" instructions
- Use Asciidoctor.js by default (setting AsciiDoc.use_asciidoctor_js = true), closes #29
- Added symbol view, closes #3
- Keyboard binding changed to
ctrl+shift+r
(Mac:cmd+shift+r
) - Add auto closing brackets
- Fix syntax highlighter breaking
- Added buffer size parameter for larger Asciidoc rendering capability
- Support # symbol as section header
- Do not prefix links for local #sections
- Apply fixLinks to local links, closes #12
- Removed broken fixLinks transformation (this closes #6, closes #10)
- Use time based preview refresh instead of on document change, this closes #9
- Major code reorganization and documentation
- Quote filename when invoking asciidoctor, this closes #4
- Added full error message display when asciidoctor execution fails
- Improved samples with CSS and icons
- Added animated showcase on the README.md