Skip to content

Atom plugin providing autocomplete functions for tagging entities in TEI

License

Notifications You must be signed in to change notification settings

KONDE-AT/atom-entity-linker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

atom-entity-linker

An Atom plugin providing autocomplete functions for tagging entities with tei:rs tags and @ref pointing to the entities' @xml:id.

The autocomplete will be triggered after typing the following prefix

  • @pe -> triggers AC for persons
  • @pl -> triggers AC for places
  • @wo -> triggers AC for works
  • @or -> triggers AC for organisations

something like @plWien will be e.g. replaced through <rs type='place' ref='#{idOfWien}'></rs>

This plug in based on atom-autocomplete-boilerplate package released under MIT License by Will Boyd. The follwoing parts of this readme are taken from there.

atom-autocomplete-boilerplate

Boilerplate package for creating your own custom autocomplete provider for Atom.

Introduction

This package is not meant to be used directly. It's a sample package that you can build upon to quickly create a custom autocomplete plug-in for Atom.

This README contains only basic installation steps. For the full tutorial, please read Creating an Autocomplete Plug-In for Atom.

Installation

Atom provides a built-in way to download and install packages, but for local development, you'll want to do it this way.

  1. Clone this repo.
  2. Make sure you have apm installed.
    • On Mac, you might need to start Atom and go to Atom > Install Shell Commands.
    • On Windows, it's probably already there.
  3. Open your terminal, navigate into the repo directory, then run apm link.
  4. Back in Atom, you should now see atom-autocomplete-boilerplate installed.
    • On Mac, you'll find it under Atom > Preferences... > Packages > Community Packages.
    • On Windows, you'll find it under File > Settings > Packages > Community Packages.

Don't forget to reload Atom when you make changes!

  • On Mac, hit ctrl + option + command + L.
  • On Windows, hit ctrl + shift + F5.

BASE-URL for APIS: https://{mydomain}/apis/tei/autocomplete/

About

Atom plugin providing autocomplete functions for tagging entities in TEI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •