////
Copyright (c) 2000, 2025 Contributors to the Eclipse Foundation
This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-2.0/

SPDX-License-Identifier: EPL-2.0
////

// pull in shared headers, footers, etc
:docinfo: shared

// support image rendering and table of contents within GitHub
ifdef::env-github[]
:imagesdir: ../../images
:toc:
:toc-placement!:
endif::[]

// enable support for button, menu and keyboard macros
:experimental:

// Until ENDOFHEADER the content must match adoc-headers.txt for consistency,
// this is checked by the build in do_generate_asciidoc.sh, which also ensures
// that the checked in html is up to date.
// do_generate_asciidoc.sh can also be used to apply this header to all the
// adoc files.
// ENDOFHEADER

= Example document

toc::[]

== Images

Example image:

image:search.png[Search dialog]

== Tables

Example table:

[options="header"]
|===
|Column A |Column B
|Cell 1A  |Cell 1B
|Cell 2A  |Cell 2B
|Cell 3A  |Cell 3B
|===

== Lists

Example list:

. Item A
. Item B
. Item C

== Code blocks

Example code block:

[source,c]
----
#include <stdio.h>

int main (int argc, char* argv[]) {

    printf("Hello World!\n");
    return 0;

}
----

== Makefiles

*TODO*: How to handle tabs in makefiles? Without tabs Makefile code samples cannot be copied and pasted successfully.

== See also

See also the README.md at the root of this bundle as it has additional help on using AsciiDoc.
