Also, there is a legend which states that Kukai wrote "Sangoshiiki" (a three-episode long story that indicates differences between the goals of Confucianism, Taoism and Buddhism) at this temple.
また、空海はこの寺で「三教指帰（さんごうしいき）」を書いたとの伝えがある。