# How to create cram bonds with anchors

I want to recreate the chemical structure of 1,8-cineol in chemfig. On Wikipedia it's shown like this:

The best I can come up with is this code, with an anchor for the oxygen atom:

\documentclass[a4paper]{article}
\usepackage{chemfig}

\begin{document}
\chemfig{*6(-(-[:-90](-[:-30])(-[:-150])(<[:110,1.8]O?))---?(-)--)}
\end{document}


This results in the following picture:

I have read chemfig's documentation about anchors, but I can't figure out how to make that second bond to the oxygen atom also a cram bond.

From the chemfig manual page 15:

Thusadding a name and bondtype to the hook (?) can be done:

\documentclass{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{chemfig}

\begin{document}
\chemfig{*6(-(-[:-90](-[:-30])(-[:-150])(<[:110,1.8]O?[a,4]))---?[a,4](-)--)}
\end{document}


Result :

• It is also enough to add [,{>}] after the anchor. – Kess Vargavind May 18 '19 at 10:58
• @KessVargavind that works too, thanks for your useful addition. – Koen Vervloesem May 18 '19 at 11:14