Ion-implanted ⁸Li nuclear magnetic resonance study of van der waals layered materials