O0007 - ``` Quote ended unexpectedly
Error
%% @doc To execute the program, call `main`
%% Here is some code:
%% ```
%% erlang:display()
%% ^^^^^^^^^^^^^^^^^^^ warning: ```-quote ended unexpectedly
%% ```
main() ->
ok.
Explanation
The character sequence ```...''' is used in EDoc for multi-line code examples.
You are most likely using markdown-style monospace quoting instead of EDoc's monospace quotes. To fix the error, replace the last occurrence of ``` with ''':
%% @doc To execute the program, call `main`
%% Here is some code:
%% ```
%% erlang:display()
%% '''
main() ->
ok.
You can read more about verbatim quoting in EDoc here.