Skip to content

WIP Rewrite the whole syntax #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 29 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
ff2b6a7
Convert to sublime-syntax
michaelblyons Mar 31, 2025
578e760
Comment out existing syntax file
michaelblyons Apr 1, 2025
144e5a2
Add some contexts back to syntax
michaelblyons Apr 1, 2025
e280539
Rearrange contexts to match Docs
michaelblyons Apr 2, 2025
fd0ca76
Grab doc reference as tests
michaelblyons Apr 2, 2025
da14cb4
Add blockquotes
michaelblyons Apr 2, 2025
d134850
Copy header symbols from Markdown
michaelblyons Apr 2, 2025
762420e
Add more syntax constructs
michaelblyons Apr 2, 2025
4646aa3
Add comment toggle
michaelblyons Apr 2, 2025
4b4c5db
Add more syntax constructs
michaelblyons Apr 2, 2025
c220a31
Let description lists use indented blocks
michaelblyons Apr 2, 2025
5719686
Support text substitutions
michaelblyons Apr 2, 2025
7b2b63b
Add Links, KBD, Menus, and Buttons
michaelblyons Apr 2, 2025
81fd9ec
Add syntax test action
michaelblyons Apr 2, 2025
1776ab9
Add bibliography syntax
michaelblyons Apr 2, 2025
7906e13
Fix conditionals never pop
michaelblyons Apr 2, 2025
09edf5b
Refactor continuations
michaelblyons Apr 2, 2025
64cf85f
Add more include assertions
michaelblyons Apr 2, 2025
f2c5ffb
Add heuristic for highlight spans
michaelblyons Apr 2, 2025
89e92ae
Extend code block markers
michaelblyons Apr 2, 2025
3e6d4f0
More accurate attribute names
michaelblyons Apr 3, 2025
58e5497
Fix mis-copied test
michaelblyons Apr 3, 2025
d701c1a
Audit for more missing pieces
michaelblyons Apr 3, 2025
8410b61
Fix heading levels 4-5
michaelblyons Apr 3, 2025
2240efc
Tweak attribute lists
michaelblyons Apr 3, 2025
1494eb6
Add index terms
michaelblyons Apr 3, 2025
3b63db8
Add some failing tests
michaelblyons Apr 3, 2025
674f073
Add $$ passthrough
michaelblyons Apr 3, 2025
411dcd5
Add HTML entities
michaelblyons Apr 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/syntax.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Syntax Tests
# https://github.com/sublimetext/syntax-test-action

on:
push:
paths:
- '.github/workflows/*'
- '**.sublime-syntax'
- '**/syntax_test_*'
- '**.tmPreferences'
pull_request:
paths:
- '.github/workflows/*'
- '**.sublime-syntax'
- '**/syntax_test_*'
- '**.tmPreferences'

jobs:
main:
name: Syntax Tests (${{ matrix.build }})
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
# fail-fast: false
matrix:
include:
- build: 'latest'
- build: 'stable'
steps:
- uses: actions/checkout@v4
- uses: SublimeText/syntax-test-action@v2
with:
build: ${{ matrix.build }}
package_name: 'AsciiDoc'
Loading