Easy import of markdown docs to wiki

Hello - I have a considerable number of docs in markdown. The wiki docs / other docs, is not really compatible with simply copy-pasting markdown you have.

Anything that can be done?

Wiki doesn’t support copy-pasting markdown at the moment.
The workaround I can offer now is to use direct fibery api to update whole document with markdown content: https://api.fibery.io/#update-rich-text-field

1 Like

ah, right, that will work. Actually my docs are in a database and happen to be in markdown format in a text field. I can get a json dump of them, then use jq to cook up a script to push them in via curl. Problem is slogging through to figure out what is useful or not. :slight_smile:

This is indeed , the notion app well made as well embed , but maker user experience for non code user who did not know makdown format

As a general comment being able to paste markdown would be rather nice, especially for us people who write notes in markdown in text editors and then want to paste them quickly in.

(e.g. customer raises an issue on the phone, and I capture some notes in using a text editor)

1 Like

With the recent idea of using Fibery for public docs and other things, it seems like being able to get any existing docs into Fibery will be important. Most people will not want to use API for this. At a minimum markdown pasting should be supported. And ideally bulk Markdown import to map to individual Docs (or even entities+rich text?) would be great. Few companies are going to have no existing docs, and so they will want to move such docs into Fibery in the most efficient way.

4 Likes

I’m getting close to doing a big migration of multiple processes and 100s of associated docs into Fibery, or rather I’m wanting to do this, but have no ability to utilize the API myself (not a coder). This kind of import option, or at least a basic markdown paste interpretation, seems increasingly vital as Fibery positions itself more and more as a documentation, etc. solution. I know there is a lot going on, but can some useful aspect of this work be prioritized?

Or is there at least a workaround, like can I put all my docs into a CSV and import to Entity Rich Text that way? I know I could test it, but would appreciate an official answer rather than having to do some data wrangling to test it. :smile:

1 Like

OK, well… there’s a workaround that might be manageable for a short while, if you use a Database for your “docs” (which IMO is often a good idea anyway):

  • Create a Button that Overwrites (or appends/prepends, if you prefer) your Entity Description
  • Enable “Ask for user input” for the contents
  • Copy markdown from source, invoke button, paste, complete

Hey, magic, you have markdown “import”! It’s slow, it’s clunky, but… it works better than trying to just paste directly into the description (which does not work at all). :smile:

And if you really need it in a Doc, you can now successfully copy/paste with formatting from the Entity Description to a Doc. Highly ironic that this works, but markdown copy/paste does not, especially given that Fibery more or less supports markdown. :roll_eyes:

If the contents of the docs are not too big, you can actually do the following:
- create a simple text field (called ‘Scratchpad’ or something)
- define an automation that copies contents of this simple text field to the rich text field you want to use, whenever the simple text field is updated
- import the text/markdown into the simple text field, using CSV import

Ignore this!

1 Like

Hmm, OK that’s good to know. But can’t I just import to a Rich Text/Description field anyway? From a quick test import (without actually committing the data) it appears that Rich Text is available for mapping from source data. Am I missing something?

You’re absolutely right - it is possible to directly import into rich text. My fault for not checking that first - I had used the method suggested a while back for a different reason; I can’t recall if import to rich text was available at that time.
So yeah, if your source text is formatted as markdown correctly, then you should have no problems. Sorry for the confusion.

1 Like

Ah good, no worries! It’s a reasonable approach. I still strongly wish for at least single import (or copy/paste handling) for markdown into docs, and ideally bulk import of .md files to docs. It’s such a simple format and Fibery already mostly supports it. It could be a big help for people trying to migrate into Fibery from other tools = sales driver!

1 Like