Skip to content

Commit

Permalink
include-files: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
black-desk committed Oct 12, 2024
1 parent f114a8a commit 4a9fefb
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
17 changes: 17 additions & 0 deletions include-files/expected-auto.native
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,29 @@
( "subdir/someimage.png" , "" )
]
]
, Figure
( "" , [] , [] )
(Caption
Nothing [ Plain [ Str "Image" , Space , Str "title" ] ])
[ Plain
[ Image
( "" , [] , [] )
[ Str "Image" , Space , Str "title" ]
( "https://example.com/someimage.png" , "" )
]
]
, Para
[ Link
( "" , [] , [] )
[ Str "Some" , Space , Str "link" ]
( "subdir/someimage.png" , "" )
]
, Para
[ Link
( "" , [] , [] )
[ Str "Some" , Space , Str "link" ]
( "https://example.com/someimage.png" , "" )
]
, Header
2
( "source-include" , [] , [] )
Expand Down
17 changes: 17 additions & 0 deletions include-files/expected.native
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,29 @@
( "subdir/someimage.png" , "" )
]
]
, Figure
( "" , [] , [] )
(Caption
Nothing [ Plain [ Str "Image" , Space , Str "title" ] ])
[ Plain
[ Image
( "" , [] , [] )
[ Str "Image" , Space , Str "title" ]
( "https://example.com/someimage.png" , "" )
]
]
, Para
[ Link
( "" , [] , [] )
[ Str "Some" , Space , Str "link" ]
( "subdir/someimage.png" , "" )
]
, Para
[ Link
( "" , [] , [] )
[ Str "Some" , Space , Str "link" ]
( "https://example.com/someimage.png" , "" )
]
, Header
1
( "source-include" , [] , [] )
Expand Down
4 changes: 4 additions & 0 deletions include-files/subdir/file-g.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ Image relative path will be updated.

![Image title](someimage.png)

![Image title](https://example.com/someimage.png)

[Some link](someimage.png)

[Some link](https://example.com/someimage.png)

# Source include

File inclusion codeblocks for use with include-code-files will be
Expand Down

0 comments on commit 4a9fefb

Please sign in to comment.