You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package comes with sensible default values. However, you can
tweak it either with M-x customize-group RET wavedrom RET or with
the following Elisp code:
(setq wavedrom-output-format "pdf")
(setq wavedrom-output-directory "~/wavedrom")
;; Faces suitable for dark themes
(set-face-attribute'wavedrom-font-lock-brackets-facenil:foreground"goldenrod")
(set-face-attribute'wavedrom-font-lock-punctuation-facenil:foreground"burlywood")
Usage
Create a file with .wjson extension and wavedrom-mode will automatically
be enabled next time it is opened.
Fill the file with valid WaveJSON
syntax and every time it is saved the function wavedrom-compile
will be executed, updating the output file and its associated buffer.
This provides a WYSIWYG-like result similar to the one with the web editor.
The output file path will be determined from the value of customizable
variables wavedrom-output-format and wavedrom-output-directory.
For example, if editing the file hello_world.wjson: