@inditextech/docouture-cli 0.1.0-SNAPSHOT.83.1 → 0.1.0-SNAPSHOT.85.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -96,6 +96,9 @@ fragment: xref:main:getting-started.adoc#add-a-page[a specific section on that p
96
96
  .A block image, capped at its own natural size
97
97
  image::ROOT:hero-placeholder.png[A placeholder image,480]
98
98
 
99
+ .The same image, marked `role=zoom-in` — click it for a bigger, fullscreen view (GH-197)
100
+ image::ROOT:hero-placeholder.png[A placeholder image,480,role=zoom-in]
101
+
99
102
  An inline image sits mid-paragraph: image:ROOT:card-placeholder.png[A small inline
100
103
  placeholder,20,20] like so. Font icons, keyboard shortcuts and UI paths:
101
104
  icon:check[] done, kbd:[Ctrl+C] to copy, btn:[Save] to save, menu:File[Save As] to open
@@ -764,10 +767,39 @@ includes an `excalidraw` service alongside `mermaid` for exactly that reason:
764
767
  "fontSize": 20,
765
768
  "seed": 2
766
769
  }
767
- ]
770
+ ]
768
771
  }
769
772
  ....
770
773
 
774
+ ==== Zoom
775
+
776
+ Any diagram (or, per the "Images and icons" section above, any plain `image::` block)
777
+ marked `role=zoom-in` gets a click-to-zoom affordance: a `zoom-in` cursor and a subtle
778
+ hover tint for a mouse, a small persistent badge for touch, and clicking/tapping opens
779
+ a fullscreen overlay with a bigger view — Esc, the close icon, or the backdrop all
780
+ dismiss it:
781
+
782
+ [,asciidoc]
783
+ ----
784
+ [mermaid,role=zoom-in]
785
+ ....
786
+ stateDiagram-v2
787
+ [*] --> Idle
788
+ Idle --> Running : start
789
+ Running --> Idle : stop
790
+ ....
791
+ ----
792
+
793
+ [mermaid,role=zoom-in]
794
+ ....
795
+ stateDiagram-v2
796
+ [*] --> Idle
797
+ Idle --> Running : start
798
+ Running --> Idle : stop
799
+ ....
800
+
801
+ Static, no pan/pinch-zoom — a bigger, still image, not an image viewer.
802
+
771
803
  === Inline macros: `label:` and `mono:`
772
804
 
773
805
  label:grey[Default] label:red[Blocked] label:orange[Pending] label:green[Stable]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inditextech/docouture-cli",
3
- "version": "0.1.0-SNAPSHOT.83.1",
3
+ "version": "0.1.0-SNAPSHOT.85.1",
4
4
  "description": "Command-line tool for docouture documentation sites: scaffold a new site and set its Antora version outside the monorepo",
5
5
  "repository": {
6
6
  "type": "git",